listen
LLEvents:on("listen", function(Channel: number, Name: string, ID: string, Text: string) -- ...end)This event is raised whenever a chat message matching the constraints set in the llListen command is received. The name and ID of the speaker, as well as the message, are passed in as parameters.
Channel 0 is the public chat channel that all avatars see as chat text. Channels 1 through 2,147,483,648 are private channels that are not sent to avatars but other scripts can listen on those channels.
Parameters
-
Channel(number) -
Name(string) -
ID(string) -
Text(string)
Examples
Section titled “Examples”Add example usage here showing how to handle the listen event in SLua/Luau.
Add additional notes, caveats, or tips specific to using this event in SLua/Luau.
See Also
Section titled “See Also”- Related events and functions can be linked here
- LSL equivalent: listen