OnPlayerChat: Difference between revisions

10 bytes removed ,  26 February 2024
no edit summary
No edit summary
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = shared
|name = onPlayerChat
|side = shared
|type = event
|type = event
|name = onPlayerChat
|games = iii vc sa iv
|usage = a player submits a chat message.<br>This excludes messages starting with a forward slash (the command character), where the command message is not displayed in the chat box
|desc = a player submits a chat message.<br>This event is not triggered for messages starting with the command character (a forward slash).<br>By default, chat messages (not chat commands) are displayed in the chat box for all players
|callbackParameters = Event event, Client client, string message
|arg1 = Client client The client that submitted a chat message.
|cancellable = true
|arg2 = string message The chat message.
|parameter1 = Client client The client that submitted a chat message.
|cancel = true
|parameter2 = string message The chat message.
}}
}}
6,834

edits