@remattach has two roles. As a restriction (=n), it makes everything worn on an attachment point (or on all points) undetachable. As a force command (=force), it detaches things, exactly like @detach=force.

Syntax

@remattach[:<attach_point_name>]=<y|n>
@remattach[:<attach_point_name>|<uuid>|<folder_path>]=force

Parameters

attach_point_name
An attachment point name as the viewer knows it, lower case (for example chest, left hand, hud center 2). root is accepted as a name for avatar center. Omit it to cover every point.
uuid (force only)
An attached object's UUID: only that object is detached.
folder_path (force only)
If the option isn't a UUID or an exact attachment-point name, it is treated as a folder path under #RLV and the items in that folder are detached (not recursive). A leading #RLV/ is stripped for RLVa compatibility.

Specification

Restriction

Force

Same dispatch as @detach=force: a UUID detaches that object; an exact point name, or no option, detaches every object on that point (or all points); anything else is treated as an #RLV folder. Locked objects (by any restriction, including the issuer's own) are skipped.

Caveats

Examples

llOwnerSay("@remattach:left hand=n");   // lock whatever is in the left hand
llOwnerSay("@remattach:chest=force");     // strip the chest attachments
llOwnerSay("@remattach:" + (string)gagKey + "=force");

Notes

Spec discrepancy: the spec says llAttachToAvatar() calls onto a @remattach-locked point "will fail (attached, then detached right away)". In the code, that automatic detach on attach is driven by canAttach, which only consults @addattach and folder locks, not @remattach. Adding a second object to a locked, occupied point probably succeeds; only replacing fails.

See also

Implementation notes

Client differences

Comparison with RLVa

No significant differences from RLVa's @remattach.