@sit has two meanings. @sit=n is a restriction that stops the user sitting down anywhere, on objects or on the ground. @sit:<uuid>=force makes the avatar sit on the object with that key.

Syntax

@sit=<n|add>              restrict sitting
@sit=<y|rem>              lift the restriction
@sit:<uuid>=force         sit on the object <uuid>
@sit=force                 sit on the ground (same as @sitground=force)

Parameters

uuid (force form)
Key of a prim the viewer currently knows about. It must be a volume (not an avatar or a tree/grass), and must be in the viewer's object list. Otherwise the command fails with an option error. An empty option parses as the null key (LLUUID::set("") returns success), so @sit=force and @sit:00000000-0000-0000-0000-000000000000=force are passed to @sitground=force.

Restriction

Force

Examples

// Seat the wearer on this object and keep them there
llOwnerSay("@sit:" + (string)llGetKey() + "=force");
llOwnerSay("@unsit=n");

// Prevent sitting anywhere
llOwnerSay("@sit=n");

Notes

See also

Implementation notes

Comparison with RLV

This command works differently from RLV's @sit; see the comparison.