Lua API
On this page

ChatInputEventArgs

eventargsbase
Inherits from

Event Args for when text is typed into the chatbox and sent.

Info

For more information about events, see the Using Events section of the scripting docs.

This event args class is used by the following events:

Fields:

Eat boolean

Set to true to "eat" this input and prevent it from being sent to the server.

Empty EventArgs

staticread only

Provides a value to use with events that do not have event data.

Text string

read only

The text that was sent to the chat input box.

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string