PUBLIC CHANNEL

From Second Life Wiki
Revision as of 07:58, 10 January 2014 by Omei Qunhua (talk | contribs) (Just 0, don't confuse the poor dears any further by introducing hex at this stage. They're only just at the stage of trying to find out what on earth PUBLIC_CHANNEL means.)
Jump to navigation Jump to search

Description

Constant: integer PUBLIC_CHANNEL = 0;

The integer constant PUBLIC_CHANNEL has the value 0

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 = 0;//Chat channel that broadcasts to all nearby users. This channel is sometimes referred to as: open chat, local chat and public chat.