@attach is a force command that makes the viewer wear the contents of the folder at the given path under #RLV.

Only the folder itself is processed (plus no-modify items in specially named subfolders, see below); other subfolders are ignored. Use @attachall to include them.

Replace, unless the folder name says stack: objects whose name contains a target attachment point replace whatever is on that point, and clothing replaces the item on the same layer. If the name of the folder being attached begins with the string in the debug setting RestrainedLoveStackWhenFolderBeginsWith (default +), that folder is stacked instead, exactly as with the …over variant. The check is made per folder, so with recursive variants each subfolder decides for itself.

Syntax

@attach:<folder1/.../folderN>=force
@addoutfit…=force   (undocumented alias, same code path)

Parameters

folder1/.../folderN
Path below #RLV, case-insensitive. A leading #RLV/ is tolerated in Marine's viewer (stripped for RLVa compatibility). Anything after a | in a path element is ignored, so output from @getinvworn can be fed back directly. An empty option does nothing.

How folders and items are resolved

Caveats

Examples

// #RLV/Restraints/Leather cuffs
llOwnerSay("@attach:Restraints/Leather cuffs=force");

// A folder named "+Bells" always stacks, whatever the command
llOwnerSay("@attach:Restraints/+Bells=force");

Notes

Spec discrepancies

See also

Implementation notes

Client differences

Comparison with RLVa

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