Difference between revisions of "User:Toy Wylie/RLV Documentation/permissive"
Jump to navigation
Jump to search
(first draft) |
(added _sec functions to seealsoalso) |
||
Line 7: | Line 7: | ||
|version=1.21 | |version=1.21 | ||
|seealso= | |seealso= | ||
|seealsoalso=@recvchat_sec, @recvemote_sec, @recvim_sec, @sendchannel_sec, @sendim_sec, @tplure_sec | |||
|example= | |example= | ||
<lsl>default | <lsl>default |
Revision as of 13:42, 6 July 2010
@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>