@accepttp makes the viewer act on incoming teleport offers without asking the user. With a UUID it applies only to that avatar; without
one it applies to everybody.
The offer is accepted as if it came from a god: no confirmation dialog, and the teleport cannot be canceled by the user. Combine with @tplure and @unsit carefully: those still win (see below).
Syntax
@accepttp[:<avatar_uuid>]=<add/rem> (=n / =y work the same)
Parameters
- avatar_uuid
- The key of the avatar whose teleport offers are accepted. It is compared as a lower-case UUID string (the whole
command is lower-cased), so any normal key format works. Omit it to accept from anyone, which is risky.
Specification
- Requests from muted avatars are ignored as usual.
- Do Not Disturb (busy) mode does not stop an auto-accepted teleport offer (the busy auto-response may still be sent).
- If @tplure applies to the sender (no exception for them), or @unsit is active while sitting, the offer is refused with an automatic IM (“…prevented from accepting teleport offers…”) before auto-acceptance is considered.
- If @recvim blocks the sender, or @showloc is active, the accompanying message is shown as
“(Hidden)”.
- Any object can grant this for the user; several objects may add different UUIDs. The exception list is the union of all of them.
Caveats
- Like every RLV rule it is lost on relog and when the object is detached.
- This only covers offers sent by an avatar. It does not make the user accept landmarks or map teleports; for script-driven teleports to a location use @tpto.
Examples
key gOwner = "01234567-89ab-cdef-0123-456789abcdef";
// Accept teleport offers from the keyholder only
llOwnerSay("@accepttp:" + (string)gOwner + "=add");
See also
Implementation notes
- Marine:
llimprocessing.cpp, case IM_LURE_USER/IM_TELEPORT_REQUEST: the auto-accept test at
:1561-1572 (contains("accepttp:"+from_id) || contains("accepttp")), the refusal checks at :1641-1674, and the
action at :1692-1702 (god-like lure, setAllowCancelTp(FALSE)).
Client differences
- CoolVL implements the same logic in
llimmgr.cpp:2697-2782. In Marine's viewer, if the user's “only friends and groups can
call or IM me” option (VoiceCallsFriendsOnly) is on and the sender is not a friend, the teleport offer is dropped before RLV gets to act, even
with @accepttp; CoolVL has no such check.
Comparison with RLVa
No significant differences from RLVa's @accepttp.