User:Toy Wylie/RLV Documentation/chatshout
< User:Toy Wylie | RLV Documentation
Jump to navigation
Jump to search
Revision as of 08:27, 7 July 2010 by Liace Parx (talk | contribs)
@chatshout
Type
Restriction
Implemented
Implemented since RLV version 1.15
Usage
@chatshout=y
@chatshout=n
Purpose
When prevented (@chatshout=n), the avatar will chat normally even when the user tries to shout. This does not change the message in any way, only its range.
See Also
Example
<lsl>integer shoutChat = TRUE;
default {
touch_start(integer total_number) { if (llDetectedKey(0) != llGetOwner()) return; shoutChat = 1-shoutChat; if(shoutChat) { llOwnerSay("@chatshout=y"); llSay(0, "Chat restrictions are lifted."); } else { llOwnerSay("@chatshout=n"); llSay(0, "Chat is now restricted to normal."); } }
}
</lsl>