Skip to content

Constants in the Channel enum.

All constant groups

At a glance, from the LSL definitions
integer PUBLIC_CHANNEL = 0;  // Integer constant representing the open local chat channelinteger COMBAT_CHANNEL = 2147483646;  // A region-wide channel reserved for combat-related log eventsinteger DEBUG_CHANNEL = 2147483647;  // A chat channel reserved for script debugging and error messages

Constants

ConstantTypeValueDescription
COMBAT_CHANNELinteger2147483646A region-wide channel reserved for combat-related log events. Passing this to llRegionSay adds the message to the combat log, and scripts listening on this channel can monitor the combat log.
DEBUG_CHANNELinteger2147483647A chat channel reserved for script debugging and error messages. Passing this to llSay, llWhisper, or llShout prints text to the Script Warning/Error Window and broadcasts it to nearby avatars' script consoles.
PUBLIC_CHANNELinteger0Integer constant representing the open local chat channel. Passing this to chat functions (llSay, llWhisper, llShout) prints text to the publicly heard chat seen by nearby users and objects.

Used by