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

From Second Life Wiki
Jump to navigation Jump to search
(added _sec functions to seealsoalso)
m (updated usage)
 
(One intermediate revision by the same user not shown)
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
|seealso=
|seealso=recvchat_sec recvemote_sec recvim_sec sendchannel_sec sendim_sec tplure_sec
|seealsoalso=@recvchat_sec, @recvemote_sec, @recvim_sec, @sendchannel_sec, @sendim_sec, @tplure_sec
|seealsoalso=
|example=
|example=
<lsl>default
<lsl>default

Latest revision as of 07: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>