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

Syntax

void llWhisper( 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()
    {
        llWhisper(0, "This is an incredibly useless program.");
    }
}

For communicating with the user or owner it is preferable to use llOwnerSay or llInstantMessage or llRegionSayTo as they won't spam other users.

See also

Events

Functions

Footnotes

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