Difference between revisions of "PUBLIC CHANNEL"

From Second Life Wiki
Jump to navigation Jump to search
m
m (added example)
Line 8: Line 8:
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.
|comment={{#var:comment}}
|comment={{#var:comment}}
|examples
|examples=
<lsl>
default
{
    touch_start(integer num_detected)
    {
        llSay(PUBLIC_CHANNEL, "Hello there, I'm talking in local chat on channel 0.");
    }
}
</lsl>
|constants=
|constants=
{{LSL DefineRow|1=|2={{LSL Const|DEBUG_CHANNEL}}|3={{#var:comment}}}}
{{LSL DefineRow|1=|2={{LSL Const|DEBUG_CHANNEL}}|3={{#var:comment}}}}

Revision as of 11:48, 3 October 2012

Description

Constant: integer PUBLIC_CHANNEL = 0x0;

The integer constant PUBLIC_CHANNEL has the value 0x0

Chat channel that broadcasts to all nearby users & objects.

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.

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.