Skip to content

listen

listen(integer Channel, string Name, key ID, string Text)

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 (integer)
Name (string)
ID (key)
Text (string)

Add example usage here showing how to handle the listen event.

Add additional notes, caveats, or tips here.

  • Related events and functions can be linked here