User:Toy Wylie/RLV Documentation/tplure

From Second Life Wiki
< User:Toy Wylie‎ | RLV Documentation
Revision as of 14:35, 7 July 2010 by Toy Wylie (talk | contribs) (first draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


@tplure

Type

# Restriction
  1. Exception

Implemented

Implemented since RLV version 1.0

Usage

# @tplure=<y/n>
  1. @tplure:<UUID>=<add/rem>

Purpose

# Prevents the user from accepting teleport offers by other people.
  1. Adds an exception to this rule, so certain people can still offer teleports to the user.


Example

<lsl>default

{

   on_rez(integer num)
   {
       llResetScript();
   }

   state_entry()
   {
       llOwnerSay("@tplure=n,tplure:c9d1c876-b65f-4c59-84e2-5c492f94ad11=add");
       llOwnerSay("You can now no longer be teleported by someone else, but Toy Wylie.");
   }

   touch_start(integer num)
   {
       if(llDetectedKey(0)==llGetOwner())
       {
           llOwnerSay("@tplure=y,tplure:c9d1c876-b65f-4c59-84e2-5c492f94ad11=rem");
           llOwnerSay("Teleporting by other people is now allowed again.");
       }
   }
}</lsl>