llShout(integer channel, string text)
Shouts
text on
channel.
llShout range is a 100
m radius sphere
centered on the
calling object.
Note: A long
string for
text will be truncated to 1023 characters.
Example:
Chat Output:
Like
avatars, objects can use "/me" on channel 0. Thus, if an object named "Your dog" had a
script with the line:
The chat output would be:
Scripts with
listens will get the text without "/me". In the above example, a script listening on channel 0 would get the message "wants steak". There is currently no way for a script to see if the speaker has said "/me".
constants
Q: Why doesn't my object pick up it's own spoken chat text in listen()?
A: Objects do not 'hear' themselves talk. This helps prevent infinite loops which would probably happen often if objects could hear themselves. For example, if your script returned a message saying 'Unknown command', you could go into an infinite loop easily if you didn't filter out 'Unknown command'. This applies to all of the local chat functions: llWhisper, llSay, and llShout.
Compare with
llSay,
llWhisper,
llOwnerSay,
llInstantMessage and
llMessageLinked
This article wasn't helpful for you? Maybe the
related article at the LSL Portal is able to bring enlightenment.
Functions |
Chat |
listen |
Communications