Difference between revisions of "Template:LSL Function/chat"
Jump to navigation
Jump to search
m |
m (Typo) |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{LSL Injection Test}}{{#if: | |||
<includeonly>{{#if:{{{nc|}}}||{{#vardefine:hidden-text|{{#var:hidden-text}}{{LSLC|Communications{{#var:lang}}}}}}}}</includeonly> | <includeonly>{{#if:{{{nc|}}}||{{#vardefine:hidden-text|{{#var:hidden-text}}{{LSLC|Communications{{#var:lang}}}}}}}}</includeonly> | ||
Line 9: | Line 9: | ||
{{#vardefine:fc-neither|{{#ifeq:{{#if:{{{np|}}}|*}}{{#if:{{{nd|}}}|*}}|**|*}}}} | {{#vardefine:fc-neither|{{#ifeq:{{#if:{{{np|}}}|*}}{{#if:{{{nd|}}}|*}}|**|*}}}} | ||
{{#if:{{#var:fc-neither}}|{{LSL Constants/Chat}}| | |||
{{#var:constants_nb}}}} | {{#vardefine:constants_nb|{{LSL Constants/Chat|np={{{np|}}}|nd={{{nd|}}}|direct={{{direct|}}}}} | ||
{{#var:constants_nb}}}}}} | |||
{{# | {{#if:{{{np|}}}||{{Footnote|handle=channel_zero|Channel zero is also known as: {{#var:PUBLIC_CHANNEL}}, open chat, local chat and public chat|Channel zero is also known as: PUBLIC_CHANNEL, open chat, local chat and public chat}}}} | ||
{{#vardefine:p_{{{1|none}}}_hover|output channel, any integer value {{#if:{{#var:fc-neither}}|except PUBLIC_CHANNEL and DEBUG_CHANNEL|{{#if:{{{np|}}}|except PUBLIC_CHANNEL}}{{#if:{{{nd|}}}|except DEBUG_CHANNEL}}}}}} | {{#vardefine:p_{{{1|none}}}_desc|{{#if:{{{input|}}}|input|output}} {{LSLGC|Chat|chat}} channel, any integer value {{#if:{{#var:fc-neither}}|except zero{{Footnote|handle=channel_zero}} and {{#var:DEBUG_CHANNEL}}|{{#if:{{{np|}}}|except zero{{Footnote|handle=channel_zero}}}}{{#if:{{{nd|}}}|except {{#var:DEBUG_CHANNEL}}}}}}}} | ||
{{#vardefine:p_{{{1|none}}}_hover|{{#if:{{{input|}}}|input|output}} chat channel, any integer value {{#if:{{#var:fc-neither}}|except zero (PUBLIC_CHANNEL) and DEBUG_CHANNEL|{{#if:{{{np|}}}|except zero (PUBLIC_CHANNEL)}}{{#if:{{{nd|}}}|except DEBUG_CHANNEL}}}}}} | |||
{{#ifeq:{{#var:fc-neither}}{{{1|<noinclude>{{{1}}}</noinclude>}}}{{{dialog|}}}|{{{1}}}| | |||
{{#vardefine:caveats|{{#var:caveats}} | |||
*Messages sent on {{#if:{{{np|}}}||channel zero{{Footnote|handle=channel_zero}} {{#if:{{{nd|}}}||and}}}} {{#if:{{{nd|}}}||{{#var:DEBUG_CHANNEL}}}} are throttled to a rate of <200/10sec, per region, per owner/user. | |||
**Once the rate is exceeded, all following messages on {{#if:{{{np|}}}||channel zero {{#if:{{{nd|}}}||or}}}} {{#if:{{{nd|}}}||{{#var:DEBUG_CHANNEL}}}} will be dropped until the send rate is again below 200/10sec for the previous 10 sec. Dropped messages, despite being dropped still count against the limit.}} | |||
}} | |||
}} | }} | ||
Line 20: | Line 29: | ||
{{#if:{{{2|<noinclude>*</noinclude>}}}| | {{#if:{{{2|<noinclude>*</noinclude>}}}| | ||
{{#if:{{{input|}}}| | |||
{{#vardefine:p_{{{2|none_}}}_desc|{{#if:{{{ph|}}}|{{{ph|}}}|{{{pd|}}}}} message}} | |||
| | |||
{{#if:{{{dialog|}}}| | {{#if:{{{dialog|}}}| | ||
{{#vardefine:p_{{{2|none_}}}_desc|message to be displayed in the {{{dialog|}}}}} | {{#vardefine:p_{{{2|none_}}}_desc|message to be displayed in the {{{dialog|}}}}} | ||
| | | | ||
{{#vardefine:p_{{{2|none_}}}_desc|message to be transmitted}} | {{#vardefine:p_{{{2|none_}}}_desc|message to be transmitted}} | ||
}} | |||
}} | }} | ||
Line 33: | Line 46: | ||
! #var | ! #var | ||
! value | ! value | ||
|- | |||
{{VarPair|caveats}} | |||
|- | |- | ||
{{VarPair|p_{{{1|none}}}_desc}} | {{VarPair|p_{{{1|none}}}_desc}} | ||
Line 41: | Line 56: | ||
|- | |- | ||
{{VarPair|constants_nb}} | {{VarPair|constants_nb}} | ||
|- | |||
{{VarPair|examples}} | |||
|- | |||
{{VarPairTable|footnotes}} | |||
|} | |} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:25, 22 August 2014
#var | value | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
caveats |
| |||||||||
p_none_desc | output chat channel, any integer value | |||||||||
p_none_hover | output chat channel, any integer value | |||||||||
p_none__desc | message to be transmitted | |||||||||
constants_nb |
| |||||||||
examples | ||||||||||
footnotes |
|