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

From Second Life Wiki
Jump to navigation Jump to search
Line 10: Line 10:
{{#vardefine:constants_nb|{{#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}}}}
{{#vardefine:p_{{{1|none}}}_desc|Канал {{#if:{{{input|}}}|input|вывода}} , любое целочисленное значение{{#if:{{#var:fc-neither}}|except {{#var:PUBLIC_CHANNEL}} and {{#var:DEBUG_CHANNEL}}|{{#if:{{{np|}}}|except {{#var:PUBLIC_CHANNEL}}}}{{#if:{{{nd|}}}|except {{#var:DEBUG_CHANNEL}}}}}}}}
{{#vardefine:p_{{{1|none}}}_desc|канал {{#if:{{{input|}}}|input|вывода}} , любое целочисленное значение{{#if:{{#var:fc-neither}}|except {{#var:PUBLIC_CHANNEL}} and {{#var:DEBUG_CHANNEL}}|{{#if:{{{np|}}}|except {{#var:PUBLIC_CHANNEL}}}}{{#if:{{{nd|}}}|except {{#var:DEBUG_CHANNEL}}}}}}}}
{{#vardefine:p_{{{1|none}}}_hover| Канал {{#if:{{{input|}}}|input|вывода}} , любое целочисленное значение {{#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|вывода}} , любое целочисленное значение {{#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|<noinclude>{{{1}}}</noinclude>}}}{{{dialog|}}}|{{{1}}}|
{{#ifeq:{{#var:fc-neither}}{{{1|<noinclude>{{{1}}}</noinclude>}}}{{{dialog|}}}|{{{1}}}|

Revision as of 08:03, 25 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 канал вывода , любое целочисленное значение
p_none_hover канал вывода , любое целочисленное значение
p_none__desc произносимое сообщение
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.