Difference between revisions of "Template:LSL Function/chat"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{#if:
{{#if:
<includeonly>{{#if:{{{nc|}}}||{{#vardefine:hidden-text|{{#var:hidden-text}}{{LSLC|Communication{{#var:lang}}}}}}}}</includeonly>


{{#if:{{{1|<noinclude>*</noinclude>}}}|
{{#if:{{{1|<noinclude>*</noinclude>}}}|
<includeonly>{{#if:{{{nc|}}}||{{#vardefine:hidden-text|{{#var:hidden-text}}{{LSLC|Chat{{#var:lang}}}}}}}}</includeonly>


{{#vardefine:fc-neither|{{#ifeq:{{#if:{{{np|}}}|*}}{{#if:{{{nd|}}}|*}}|**|*}}}}
{{#vardefine:fc-neither|{{#ifeq:{{#if:{{{np|}}}|*}}{{#if:{{{nd|}}}|*}}|**|*}}}}


{{#vardefine:constants_nb|<includeonly>{{#if:{{{nc|}}}||{{LSLC|Chat{{#var:lang}}}}{{LSLC|Communications{{#var:lang}}}}}}</includeonly>{{#if:{{#var:fc-neither}}||{{LSL Constants/Chat|np={{{np|}}}|nd={{{nd|}}}|direct={{{direct|}}}}}}}
{{#vardefine:constants_nb|{{#if:{{#var:fc-neither}}||{{LSL Constants/Chat|np={{{np|}}}|nd={{{nd|}}}|direct={{{direct|}}}}}}}
{{#var:constants_nb}}}}
{{#var:constants_nb}}}}



Revision as of 18:25, 10 June 2012

#var value
p_none_desc output channel, any integer value
p_none_hover output channel, any integer value
p_none__desc message to be transmitted
constants_nb
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.