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:
{{#vardefine:constants_nb|{{#if:{{{nc|}}}||{{LSLC|Chat{{#var:lang}}}}{{LSLC|Communications{{#var:lang}}}}}}{{LSL Constants/Chat|mode={{#if:{{{np|}}}|no_public}}}}
 
{{#vardefine:constants_nb|<includeonly>{{#if:{{{nc|}}}||{{LSLC|Chat{{#var:lang}}}}{{LSLC|Communications{{#var:lang}}}}}}</includeonly>{{LSL Constants/Chat|mode={{#if:{{{np|}}}|no_public}}}}
{{#var:constants_nb}}}}
{{#var:constants_nb}}}}
{{#vardefine:p_{{{1|none}}}_desc|output channel, any integer value {{#if:{{{np|}}}|except {{#var:PUBLIC_CHANNEL}}}}}}
{{#vardefine:p_{{{1|none}}}_desc|output channel, any integer value {{#if:{{{np|}}}|except {{#var:PUBLIC_CHANNEL}}}}}}
{{#vardefine:p_{{{1|none}}}_hover|output channel, any integer value {{#if:{{{np|}}}|except PUBLIC_CHANNEL}}}}
{{#vardefine:p_{{{1|none}}}_hover|output channel, any integer value {{#if:{{{np|}}}|except PUBLIC_CHANNEL}}}}
{{#vardefine:p_{{{2|none}}}_desc|message to be transmitted}}
 
}}
{{#vardefine:p_{{{2|none_}}}_desc|message to be transmitted}}
 
}}<noinclude>
{| {{Prettytable}}
|-{{Hl2}}
! #var
! value
|-
{{VarPair|p_{{{1|none}}}_desc}}
|-
{{VarPair|p_{{{1|none}}}_hover}}
|-
{{VarPair|p_{{{2|none_}}}_desc}}
|-
{{VarPair|constants_nb}}
|}
</noinclude>

Revision as of 05:19, 16 April 2009

#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.