@tpto teleports the avatar without asking. It has two forms. With three numbers, they are global grid coordinates (region corner plus local position). With a region name in front, the numbers are local coordinates in that region, and the viewer looks the region up itself (API 2.9.20).

Syntax

@tpto:<X>/<Y>/<Z>=force
@tpto:<region_name>/<X>/<Y>/<Z>[;<lookat>]=force

Parameters

X, Y, Z
Parsed with atoi, so they must be integers. Any decimal part is dropped.
region_name
Name of the destination region. The whole command is lowercased before parsing, so the name is looked up in lowercase. It can't contain /.
lookat
Supposed to set the direction the avatar faces on arrival. See Caveats.

Caveats

Examples

// Region form (2.9.20+): local coordinates
llOwnerSay("@tpto:Help Island Public/128/128/30=force");

// Global form: compute from the region corner
vector corner = llGetRegionCorner();
vector dest = corner + <128, 128, 30>;
llOwnerSay("@tpto:" + (string)((integer)dest.x) + "/" + (string)((integer)dest.y)
           + "/" + (string)((integer)dest.z) + "=force");

Implementation notes

Client differences

See also

Comparison with RLVa

This command works differently from RLVa's @tpto; see the comparison.