User:Toy Wylie/RLV Documentation/tplure
Jump to navigation
Jump to search
@tplure
Type
# Restriction
- Exception
Implemented
Implemented since RLV version 1.0
Usage
# @tplure=<y/n>
- @tplure:<UUID>=<add/rem>
Purpose
# Prevents the user from accepting teleport offers by other people.
- Adds an exception to this rule, so certain people can still offer teleports to the user.
See Also
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>