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.
// Send the text "Hello, friends" on channel zero. It will appear // in the chat window of any avatar within 20 meters. 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 objects that are listening on that channel llSay(-123456, "I was touched by " + llDetectedName(0)); } }