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

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 19: Line 19:
{{#vardefine:caveats|{{#var:caveats}}
{{#vardefine:caveats|{{#var:caveats}}
*Messages sent on {{#if:{{{np|}}}||{{#var:PUBLIC_CHANNEL}} {{#if:{{{nd|}}}||and}}}} {{#if:{{{nd|}}}||{{#var:DEBUG_CHANNEL}}}} are throttled to a rate of <200/2sec, per region, per owner/user.
*Messages sent on {{#if:{{{np|}}}||{{#var:PUBLIC_CHANNEL}} {{#if:{{{nd|}}}||and}}}} {{#if:{{{nd|}}}||{{#var:DEBUG_CHANNEL}}}} are throttled to a rate of <200/2sec, per region, per owner/user.
**Once the rate is exceeded, all messages on {{#if:{{{np|}}}||{{#var:PUBLIC_CHANNEL}} {{#if:{{{nd|}}}||or}}}} {{#if:{{{nd|}}}||{{#var:DEBUG_CHANNEL}}}} will be dropped until the send rate is again below 200/2sec for the previous 2 sec. }}
**Once the rate is exceeded, all following messages on {{#if:{{{np|}}}||{{#var:PUBLIC_CHANNEL}} {{#if:{{{nd|}}}||or}}}} {{#if:{{{nd|}}}||{{#var:DEBUG_CHANNEL}}}} will be dropped until the send rate is again below 200/2sec for the previous 2 sec. Dropped messages, despite being dropped still count against the limit.}}
}}
}}



Revision as of 14:49, 22 August 2012

#var value
caveats
  • Messages sent on PUBLIC_CHANNEL and DEBUG_CHANNEL are throttled to a rate of <200/2sec, per region, per owner/user.
    • Once the rate is exceeded, all following messages on PUBLIC_CHANNEL or DEBUG_CHANNEL will be dropped until the send rate is again below 200/2sec for the previous 2 sec. Dropped messages, despite being dropped still count against the limit.
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.