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

From Second Life Wiki
Jump to navigation Jump to search
m
(Wording suggested by Void)
Line 15: Line 15:


{{#vardefine:p_{{{1|none}}}_hover|{{#if:{{{input|}}}|input|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}}}_hover|{{#if:{{{input|}}}|input|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}}}}}}
{{#ifeq:{{#var:fc-neither}}{{{1}}}|{{{1|<noinclude>{{{1}}}</noinclude>}}}|
{{#vardefine:caveats|{{#var:caveats}}
*Messages on {{LSLPT|{{{1}}}}} are throttled to a rate of <200/2sec, per region, per owner/user.
**Once the rate is exceeded, all messages on {{LSLPT|{{{1}}}}} will be dropped until the send rate is again below 200/2sec for the previous 2 sec. }}
}}


}}
}}
Line 37: Line 43:
! #var
! #var
! value
! value
|-
{{VarPair|caveats}}
|-
|-
{{VarPair|p_{{{1|none}}}_desc}}
{{VarPair|p_{{{1|none}}}_desc}}

Revision as of 12:31, 22 August 2012

#var value
caveats
  • Messages on {{{1}}} are throttled to a rate of <200/2sec, per region, per owner/user.
    • Once the rate is exceeded, all messages on {{{1}}} will be dropped until the send rate is again below 200/2sec for the previous 2 sec.
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.