Difference between revisions of "PUBLIC CHANNEL"

From Second Life Wiki
Jump to navigation Jump to search
m (added example)
Line 1: Line 1:
<onlyinclude>{{#vardefine:PUBLIC_CHANNEL|{{LSL Const|PUBLIC_CHANNEL|integer|ihex=0|hex=0x0|c={{#if:{{{direct|}}}|Chat channel used to broadcast to a specific user or prim.|Chat channel that broadcasts to all nearby users.}}}}}}</onlyinclude>{{LSL Constant
<onlyinclude>{{#vardefine:PUBLIC_CHANNEL|{{LSL Const|PUBLIC_CHANNEL|integer|ihex=0|hex=0x0|c={{#if:{{{direct|}}}|Chat channel used to broadcast to a specific user or prim. This channel is sometimes referred to as: open chat, local chat and public chat.|Chat channel that broadcasts to all nearby users. This channel is sometimes referred to as: open chat, local chat and public chat.}}}}}}</onlyinclude>{{LSL Constant
|name={{#var:cname}}
|name={{#var:cname}}
|type={{#var:type}}
|type={{#var:type}}
|hvalue=0x0
|hvalue=0x0
|value=0
|value=0
|desc=Chat channel that broadcasts to all nearby users & objects.
|desc=Chat channel that broadcasts to all nearby users & objects. This channel is sometimes referred to as: open chat, local chat and public chat.


If used with a [[llRegionSayTo]], it goes to the specified user or prim. Unlike private channels, the user's attachments do not receive the message.
If used with a [[llRegionSayTo]], it goes to the specified user or prim. Unlike private channels, the user's attachments do not receive the message.

Revision as of 19:30, 9 January 2014

Description

Constant: integer PUBLIC_CHANNEL = 0x0;

The integer constant PUBLIC_CHANNEL has the value 0x0

Chat channel that broadcasts to all nearby users & objects. This channel is sometimes referred to as: open chat, local chat and public chat.

If used with a llRegionSayTo, it goes to the specified user or prim. Unlike private channels, the user's attachments do not receive the message.

Caveats


Related Articles

Constants

•  DEBUG_CHANNEL

Functions

•  llWhisper
•  llSay
•  llShout
•  llRegionSayTo
•  llDialog
•  llListen

Events

•  listen

Examples

<lsl> default {

   touch_start(integer num_detected)
   {
       llSay(PUBLIC_CHANNEL, "Hello there, I'm talking in local chat on channel 0.");
   }

} </lsl>

Deep Notes

Search JIRA for related Issues

Signature

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