User:Toy Wylie/RLV Documentation/recvemote sec: Difference between revisions
Jump to navigation
Jump to search
Liace Parx (talk | contribs) Created page with '{{Template:RLV_Documentation/Command |command=@recvemote_sec|type=Restriction |usage=#@recvemote_sec=y #@recvemote_sec=n #@recvemote_sec:<UUID>=rem #@recvemote_sec:<UUID>=add |pu...' |
m usage fix |
||
| Line 1: | Line 1: | ||
{{Template:RLV_Documentation/Command | {{Template:RLV_Documentation/Command | ||
|command=@recvemote_sec|type=Restriction | |command=@recvemote_sec|type=Restriction | ||
|usage= | |usage=@recvemote_sec=<y/n> | ||
|purpose=When prevented, emotes will be discarded. This particular command allows exceptions issued from the same object only, opposed to the non-secure way that allows exceptions from any object. | |||
|purpose=When prevented, emotes will be discarded. This particular command | |||
|version=1.21 | |version=1.21 | ||
|seealso=recvchat recvchat_sec recvemote | |seealso=recvchat recvchat_sec recvemote | ||
Latest revision as of 12:26, 7 July 2010
@recvemote sec
Type
Restriction
Implemented
Implemented since RLV version 1.21
Usage
@recvemote_sec=<y/n>
Purpose
When prevented, emotes will be discarded. This particular command allows exceptions issued from the same object only, opposed to the non-secure way that allows exceptions from any object.
See Also
Example
<lsl>default
{
touch_start(integer total_number)
{
if (llDetectedKey(0) != llGetOwner()) return;
llSay(0, "/me is hiding the chat, will then send a test message.");
llSleep(0.5);
llOwnerSay("@recvemote_sec=n");
llSay(0, "/me sends the test message.");
llSleep(0.5);
llOwnerSay("@recvemote_sec=y");
llSay(0, "/me enables chat once again readable, but hiding the chat again, but this time, add an exception for this prim.");
llSleep(0.5);
llOwnerSay("@recvemote_sec=n,recvemote:" + (string)llGetKey() + "=add");
llSay(0, "/me sends another test message with the exception added.");
llOwnerSay("@recvemote_sec=y,recvemote:" + (string)llGetKey() + "=rem");
llSay(0, "/me lift the restrictions.");
}
}
</lsl>