Shouts the text supplied in string msg on channel supplied in integer channel.

Syntax

void llShout( integer channel, string msg );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

integer channel
output chat channel, any integer value
string msg
message to be transmitted

Constants

Channel ConstantDescription
DEBUG_CHANNEL0x7FFFFFFFChat channel reserved for script debugging and error messages, broadcasts to all nearby users.
PUBLIC_CHANNEL0x0Chat channel that broadcasts to all nearby users. This channel is sometimes referred to as: open chat, local chat and public chat.

Caveats

Examples

If you prefer, you can make use of certain mnemonic constants such as PUBLIC_CHANNEL instead of channel 0 and DEBUG_CHANNEL instead of channel +2,147,483,647.

default
{
    state_entry()
    {
        llShout(0, "I scream icecream!");
    }
}

For communicating with a user or owner it is preferable to use llOwnerSay or llInstantMessage or llRegionSayTo as they won't spam other users. The latter is also an excellent choice for communicating to an attachment of a known avatar, or to an object of known UUID.

See also

Events

Functions

Footnotes

  1. Channel zero is also known as: PUBLIC_CHANNEL, open chat, local chat and public chat