You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.
This is an old revision of the document!
llSay(integer channel, string message)
Say a message on the given channel with a range of 20 metres.
Determines the channel that message will be sent on. Channel can be any integer, positive or negative. Channel 0 is open chat (also known as PUBLIC CHANNEL). Channel DEBUG_CHANNEL will send the message to the Script Warning/Error window.
Contains the text to be said.
message
can be a maximum of 1024 bytes when translated to UTF-8. The allowed number of characters can vary depending on what characters the message contains. For example, it allows:// Send the text "Hello, friends" on channel zero. It will appear // in the chat window of any avatar within 20 metres. llSay(0, "Hello, friends"); llSay(PUBLIC_CHANNEL, "Hello friends"); // Variant of the above // Send the text "Error in the script!" to the script warning/error window llSay(DEBUG_CHANNEL, "Error in the script!");
default { touch_start(integer count) { // Send a message on a specific negative channel // The message will only be received by scripted prims that are listening on that channel // and are within 20 metres of this prim. llSay(-123456, "I was touched by " + llDetectedName(0)); } }
llWhisper
for a 10 metres range version.llShout
for a 100 metres range version.llOwnerSay
to say something to the owner only.lRegionSay
to say something in a certain channel to every avatar/prim in the region (but channel 0 is disallowed).llRegionSayTo
to say something to a specific avatar or prim in the region.llInstantMessage
to send an instant message to the specified avatar (can be across regions).