PUBLIC CHANNEL

From Second Life Wiki
Revision as of 01:58, 15 August 2024 by Nexii Malthus (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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
•  COMBAT_CHANNEL

Functions

•  llWhisper
•  llSay
•  llShout
•  llRegionSay
•  llRegionSayTo
•  llListen
•  llDialog
•  llTextBox

Events

•  listen

Examples

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

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.

Haiku

Oh woeful constant,
the focus of much Strife,
value, no, but priceless.