sendMessageToAllViewers


sendMessageToAllViewers (message)

Sends a message to all viewers. If the parameter is a message (from createMessage) it is used as is. Otherwise, the parameter is converted to a string and used as the text of the message, with CYAN as the default color.

Related topic

Parameter:

message - the message to send, or the text of the message to send.

Returns:

This function does not return a value.

Example:

helloMsg = createMessage("Hello, everyone!")

helloMsg.COLOR = YELLOW

sendMessageToAllViewers(helloMsg)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*