[This is preliminary documentation and is subject to change.]
The Chat type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| ContainsInvalidChars(String) | Checks for unprintable or illegal characters in a message. | |
| ReplaceTextKeywords(Player, String) | Replaces keywords with appropriate values.
See http://www.fcraft.net/wiki/Constants | |
| SendGlobal(Player, String) | Sends a global (white) chat. | |
| SendMe(Player, String) | Sends an action message (/Me). | |
| SendPM(Player, Player, String) | Sends a private message (PM). Does NOT send a copy of the message to the sender. | |
| SendRank(Player, Rank, String) | Sends a rank-wide message (@@Rank message). | |
| SendSay(Player, String) | Sends a global announcement (/Say). | |
| SendStaff(Player, String) | Sends a staff message (/Staff). |