EventsAPI.CHAT_RECEIVE_MESSAGE

The CHAT_RECEIVE_MESSAGE event is run every time a message is received in chat
The first argument is the raw string of the received text
The second argument is a JSON string representation of the received text
If the first return value is not nil,
the message will be replaced with that value
If the first return value is false,
it will suppress adding this message
The second return value is,
optionally, an RGB vector which will be used as the background color for this message
field signature:
CHAT_RECEIVE_MESSAGE
Method Property Fluent Description Representation
Field Type an Event
a a