@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.
@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)
LLUUID::set("") returns success), so @sit=force and @sit:00000000-0000-0000-0000-000000000000=force are passed to @sitground=force.RlvActions::canSit refuses every object sit while @sit is active. canGroundSit refuses ground sits, so "Sit Here", "Sit on ground", the sit button in object inspectors, area search sits and the chat-command sit are all blocked.canSit, which tests the global restriction state. An @sit=n held by any object, including the one issuing the force, makes it fail with RLV_RET_FAILED_LOCK. If the avatar is already sitting, the force also fails while @unsit or @standtp is held by anyone.AgentRequestSit with a zero offset. Whether the sit actually succeeds is up to the simulator (sit targets, permissions, distance limits).sat object legally <uuid>, or illegally if some other object holds @sit.// Seat the wearer on this object and keep them there
llOwnerSay("@sit:" + (string)llGetKey() + "=force");
llOwnerSay("@unsit=n");
// Prevent sitting anywhere
llOwnerSay("@sit=n");
sit has two dictionary entries: a restriction and a force command.@sit:<uuid>=n fails, because the restriction takes no option.rlvhelper.cpp 164 (restriction, RlvBehaviourGenericProcessor<RLV_OPTION_NONE>) and 298 (RlvForceProcessor<RLV_BHVR_SIT>).rlvhandler.cpp 3329-3373. A null UUID delegates to the @sitground handler (3301-3327).RlvActions::canSit / canGroundSit, rlvactions.cpp 521-554. Note that canGroundSit(idExcept) ignores the issuer's own restrictions but canSit does not.RlvHandler::onSitOrStand, rlvhandler.cpp 911-952; strings at rlvhelper.cpp 1954-1968.This command works differently from RLV's @sit; see the comparison.