llRegionSay(integer channel, string text)
Broadcasts
text on the specified
chat channel to the whole
region.
This means that any script listening on that
channel will hear the
text broadcasted by another script, regardless of the distance between both scripts, as long as they both are in the same
region.
Notes
- Fuzionor Engawa Comment: I noticed using this did a repeat of 3x for some reason, but not always.
- The channel cannot be zero (0, main chat). It can be negative or positive, just not zero.
- When using DEBUG_CHANNEL, the object containing the script will perform the equivalent to: Weird, huh? So...
string msg = "Hello, world!";
// The following two lines accomplish the same result:
llRegionSay(DEBUG_CHANNEL, msg);
llShout(0, "/me say, " + msg);
The output will be heard on a 100 meter range:Object say, Hello, World!
- However, if YOU use a "/me" with it, the results will end up as a normal shout.
string msg = "/me likes bananas.";
// The following two lines accomplish the same result:
llRegionSay(DEBUG_CHANNEL, msg);
llShout(0, msg);
Output:
Compare with
llWhisper,
llSay,
llShout,
llOwnerSay,
llInstantMessage and
llMessageLinked
Functions |
Chat |
Communications