OnChatOutput: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = onChatOutput | ||
|side = client | |||
|type = event | |type = event | ||
| | |games = iii vc sa iv | ||
| | |desc = a message is added to the chat box | ||
| | |arg1 = string message The message that is added to the chat box. | ||
|arg2 = int colour The message colour. | |||
| | |cancel = true | ||
| | |||
}} | }} |
Latest revision as of 20:28, 19 November 2022
Event
Client Only
Online and Offline
Cancellable
Available since Client 1.0.0
onChatOutput(Event event, string message, int colour)
The onChatOutput event is invoked when a message is added to the chat box.
Parameters
1) | Event | event | The event object for this event. |
2) | string | message | The message that is added to the chat box. |
3) | int | colour | The message colour. |
Attributes
cancellable | This event can be cancelled, by using event.preventDefault. |
Notes
There aren't any notes for this event.
Examples
There aren't any examples for this event.
Compatibility
There isn't any compatibility information for this event.
Related
Client Related
OnChatOutput