Difference between revisions of "User:Toy Wylie/RLV Documentation/permissive"

From Second Life Wiki
Jump to navigation Jump to search
m (seealso)
m (updated usage)
 
Line 1: Line 1:
{{Template:RLV_Documentation/Command
{{Template:RLV_Documentation/Command
|command=@permissive|type=Restriction
|command=@permissive|type=Restriction
|usage=@permissive=n
|usage=@permissive=<y/n>
 
@permissive=y
|purpose=Turns all restrictions into their secure versions. So, for example, @sendim will be treated as if you used @sendim_sec.
|purpose=Turns all restrictions into their secure versions. So, for example, @sendim will be treated as if you used @sendim_sec.
|version=1.21
|version=1.21

Latest revision as of 08:35, 7 July 2010


@permissive

Type

Restriction

Implemented

Implemented since RLV version 1.21

Usage

@permissive=<y/n>

Purpose

Turns all restrictions into their secure versions. So, for example, @sendim will be treated as if you used @sendim_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>