Player chat

From EventScripts Community Encyclopedia

Description

player_chat executes EVERY TIME A PLAYER TYPES ANYTHING IN CHAT - (the only text event you can use to find out if the text is intended for that player's team only)

Variables

Variables Specific to player_chat That Are Expanded: Quote:

     event_var(userid)
           The userid of the player that typed in text
     event_var(text)
           The "full line of text" the player typed
     event_var(teamonly)
           Tells whether or not the text was private or public
           Private (team only) = 1 | Public = 0
blog comments powered by Disqus