@unsit has two meanings. @unsit=n is a restriction: while the avatar is sitting (on an object or on the ground), it can't stand up. The restriction does nothing while the avatar is standing. @unsit=force makes the avatar stand up.
@unsit=<n|add> prevent standing up
@unsit=<y|rem> lift it
@unsit=force stand up now
None in either form. An option makes the restriction fail, and makes the force command fail with an option error.
RlvActions::canStand() returns false, so LLAgent::standUp() does nothing, the Stand button is disabled, and the Stand/Sit menu entries, the stand-up control, inspectors, chat-command stand and so on are blocked. Entering Appearance mode (which would stand the avatar) is refused.@unsit, the per-account RLVaLoginLastLocation setting is turned on, so the next login happens at the last location.@unsit=force stands the avatar up only if it is sitting and no other object holds @unsit=n. The issuer's own restriction is ignored. A force that is refused still reports success.unsat object legally <uuid> (or unsat ground …), with illegally when another object holds @unsit. A user who manages to stand despite the restriction also produces an "illegally" notification.// Seat and lock
llOwnerSay("@sit:" + (string)llGetKey() + "=force");
llOwnerSay("@unsit=n");
// Release and stand up
llOwnerSay("@unsit=y");
llOwnerSay("@unsit=force");
RlvBehaviourInfo handled in the legacy switch of processForceCommand.AGENT_CONTROL_STAND_UP with an immediate agent update.rlvhelper.cpp 190 (restriction, RLV_OPTION_NONE) and 301 (force).rlvhandler.cpp 2849-2860 (hasBehaviourExcept(RLV_BHVR_UNSIT, issuer)).RlvActions::canStand, rlvactions.cpp 658-668; used by canSit, canGroundSit, canTeleportToLocal/Location, canAcceptTpOffer.RlvUIEnabler::onToggleUnsit, rlvui.cpp 273-287 (Stand button).llselectmgr.cpp 4510-4516, llpanelcontents.cpp 162-170, llpanelobjectinventory.cpp 369/390, lltooldraganddrop.cpp 2207, rlvcommon.cpp 862-870, llviewermenu.cpp 3374 and 10890.This command works differently from RLV's @unsit; see the comparison.