Difference between revisions of "User:Toy Wylie/RLV Documentation/recvchat sec"
Jump to navigation
Jump to search
Liace Parx (talk | contribs) |
m (accepts -> allows) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Template:RLV_Documentation/Command | {{Template:RLV_Documentation/Command | ||
|command=@recvchat_sec|type=Restriction | |command=@recvchat_sec|type=Restriction | ||
|usage= | |usage=@recvchat_sec=<y/n> | ||
|purpose=When prevented, everything heard in public chat will be discarded except emotes. This particular command allows exceptions issued from the same object only, opposed to the non-secure way (@recvchat) that allows exceptions from any object. | |||
|purpose=When prevented, everything heard in public chat will be discarded except emotes. This particular command | |||
|version=1.21 | |version=1.21 | ||
|seealso=recvchat recvemote recvemote_sec | |seealso=recvchat recvemote recvemote_sec | ||
Line 14: | Line 11: | ||
if (llDetectedKey(0) != llGetOwner()) return; | if (llDetectedKey(0) != llGetOwner()) return; | ||
llSay(0, " | llSay(0, "Hiding the chat, then sending a test message."); | ||
llSleep(0.5); | llSleep(0.5); | ||
llOwnerSay("@ | llOwnerSay("@recvchat_sec=n"); | ||
llSay(0, " | llSay(0, "This is a test message."); | ||
llSleep(0.5); | llSleep(0.5); | ||
llOwnerSay("@ | llOwnerSay("@recvchat_sec=y"); | ||
llSay(0, " | llSay(0, "Chat is once again readable, but hiding the chat again, but this time, add an exception for this prim."); | ||
llSleep(0.5); | llSleep(0.5); | ||
llOwnerSay("@ | llOwnerSay("@recvchat_sec=n,recvchat:" + (string)llGetKey() + "=add"); | ||
llSay(0, " | llSay(0, "Sending another test message with the exception added."); | ||
llOwnerSay("@ | llOwnerSay("@recvchat_sec=y,recvchat:" + (string)llGetKey() + "=rem"); | ||
llSay(0, " | llSay(0, "The restrictions are lifted."); | ||
} | } | ||
} | } | ||
</lsl> | </lsl> | ||
}} | }} |
Latest revision as of 13:04, 7 July 2010
@recvchat sec
Type
Restriction
Implemented
Implemented since RLV version 1.21
Usage
@recvchat_sec=<y/n>
Purpose
When prevented, everything heard in public chat will be discarded except emotes. This particular command allows exceptions issued from the same object only, opposed to the non-secure way (@recvchat) that allows exceptions from any object.
See Also
Example
<lsl>default
{
touch_start(integer total_number) { if (llDetectedKey(0) != llGetOwner()) return; llSay(0, "Hiding the chat, then sending a test message."); llSleep(0.5); llOwnerSay("@recvchat_sec=n"); llSay(0, "This is a test message."); llSleep(0.5); llOwnerSay("@recvchat_sec=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_sec=n,recvchat:" + (string)llGetKey() + "=add"); llSay(0, "Sending another test message with the exception added."); llOwnerSay("@recvchat_sec=y,recvchat:" + (string)llGetKey() + "=rem"); llSay(0, "The restrictions are lifted."); }
}
</lsl>