Difference between revisions of "Template:LSL Constants/Chat"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
! colspan="2" {{!}} Channel Constant
! colspan="2" {{!}} Channel Constant
! Description
! Description
{{!}}-
{{!}}- {{:DEBUG_CHANNEL|direct={{{direct|}}}}}
{{!}}{{#vardefine:DEBUG_CHANNEL|{{LSL Const|DEBUG_CHANNEL|integer|hex=0x7FFFFFFF|c=Chat channel reserved for debug and error messages from scripts.}}}}{{#var:DEBUG_CHANNEL}}
{{#if:{{{nd|}}}||{{!}}{{#var:DEBUG_CHANNEL}}
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}}}
{{!}}-
{{!}}- {{:PUBLIC_CHANNEL|direct={{{direct|}}}}}
{{#ifeq:{{{mode|}}}|no_public||{{!}}{{#vardefine:PUBLIC_CHANNEL|{{LSL Const|PUBLIC_CHANNEL|integer|ihex=0|hex=0x0|c=Chat channel that broadcasts to all nearby users.}}}}{{#var:PUBLIC_CHANNEL}}
{{#if:{{{np|}}}||{{!}}{{#var:PUBLIC_CHANNEL}}
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}}}
{{!}}{{#var:comment}}}}
{{!}}-
{{!}}-
{{!}}}
{{!}}}

Latest revision as of 09:13, 25 April 2011

Channel Constant Description
DEBUG_CHANNEL 0x7FFFFFFF Chat channel reserved for script debugging and error messages, broadcasts to all nearby users.
PUBLIC_CHANNEL 0x0 Chat channel that broadcasts to all nearby users. This channel is sometimes referred to as: open chat, local chat and public chat.