Overview
Send an in-game message to a specific player, your alliance or everyone.This function was added in Warzone 3.2.
Syntax
chat(to,message);
Parameters
Parameter | Type | Mandatory | Description | Game version |
---|---|---|---|---|
to | Number, Constant | Who should the message be sent to?
| 3.2 | |
message | String | The message to send to the recipient. | 3.2 |
Return value
Not know at present.
Example
Send a message to your allies
chat(ALLIES,"Hello friends");
See also
- Chat Scope – constants relating to chat messages
- eventChat() – receive chat messages