LSL feature request. The described function does not exist. This article is a feature request.
Says the string msg on channel number channel that can be heard anywhere in the parcel by an agent (when on the PUBLIC_CHANNEL) or by a script listening on channel.
void llParcelSay( integer channel, string msg );
Forced delay: 0.0 seconds. Energy: 10.0.
Regardless of where the prim is, the message will not travel over parcel borders.
See: SVC-1224
| Channel Constant | Description | |
|---|---|---|
| DEBUG_CHANNEL | 0x7FFFFFFF | Chat channel reserved for script debugging and error messages, broadcasts to all nearby users. |
| 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. |
<lsl>default {
state_entry()
{
llParcelSay(0, "Abandon ship! This is not a drill!" );
}
}</lsl>
If one object 'says' something to another object (e.g., a button that, when touched, turns on a lamp), it is a good idea to use a very negative channel, e.g., <lsl> llParcelSay(-654321, "light on");</lsl> Negative channels are popular for script communications because the client is unable to chat directly on those channels ("/-xxxx message" won't chat "message" on channel "-xxxx", it will chat "/-xxxx message" on channel zero).
If DEBUG_CHANNEL is used as channel, the script will say msg to the Script Warning/Error window.