Called when a message is sent to the in-game console, either by a player or through the server interface.
This event only fires for plain messages, not for any commands (including /shout or /whisper).
player_index?: uint32 — The player doing the chatting, if any.message: string — The chat message that was sent.name: defines.events — Identifier of the eventtick: uint32 — Tick the event was generated.