User:Toy Wylie/RLV Documentation/permissive
Jump to navigation
Jump to search
@permissive
Type
Restriction
Implemented
Implemented since RLV version 1.21
Usage
@permissive=n
@permissive=y
Purpose
Turns all restrictions into their secure versions. So, for example, @sendim will be treated as if you used @sendim_sec.
See Also
@recvchat_sec, @recvemote_sec, @recvim_sec, @sendchannel_sec, @sendim_sec, @tplure_sec
Example
<lsl>default
{
on_rez(integer num) { llResetScript(); }
state_entry() { llOwnerSay("@permissive=n,sendim=n"); llOwnerSay("Sending instant messages is now denied for you. And no other object can add exceptions to this restriction. Touch this object to lift the restrictions."); }
touch_start(integer num) { if(llDetectedKey(0)==llGetOwner()) { llOwnerSay("@clear"); llOwnerSay("Your restrictions have been cleared."); } }}</lsl>