User:Toy Wylie/RLV Documentation/recvchat
< User:Toy Wylie | RLV Documentation
Jump to navigation
Jump to search
Revision as of 08:32, 7 July 2010 by Liace Parx (talk | contribs)
@recvchat
Type
Restriction
Implemented
Implemented since RLV version 1.0b + 1.01 (exceptions)
Usage
#@recvchat=y
- @recvchat=n
- @recvchat:<UUID>=rem
- @recvchat:<UUID>=add
Purpose
When prevented (@recvchat=n), everything heard in public chat will be discarded except emotes. However, exceptions can be made too by using @recvchat:<UUID>=<rem/add>
See Also
Example
<lsl>default
{
touch_start(integer total_number) { if (llDetectedKey(0) != llGetOwner()) return; llSay(0, "Hiding the chat, will then send a test message."); llSleep(0.5); llOwnerSay("@recvchat=n"); llSay(0, "The test message."); llSleep(0.5); llOwnerSay("@recvchat=y"); llSay(0, "Chat is once again readable, but hiding the chat again, but this time, add an exception for this prim."); llSleep(0.5); llOwnerSay("@recvchat=n,recvchat:" + (string)llGetKey() + "=add"); llSay(0, "Another test message."); llOwnerSay("@recvchat=y,recvchat:" + (string)llGetKey() + "=rem"); llSay(0, "The restrictions are lifted."); }
}
</lsl>