This page covers the path-based force-wear commands: @attach, @attachover, @attachoverorreplace, @attachall, @attachallover, @attachalloverorreplace and their @addoutfit… aliases. In both viewers …overorreplace runs exactly the same code as the plain replace command, and the addoutfit… names are aliases. The viewers agree on the basics (wear a folder below #RLV, replace or add, recurse for …all…, respect locks item by item, activate gestures). The differences that a scripter can trip over are in how the path is resolved and how a few edge cases are worn.

Differences

AspectRLV (Marine)RLVa (Firestorm)
Path matchingFuzzy: at each level, the child folder whose name contains the longest prefix of the remaining path (joined with /) wins, so a folder literally named a/b can matchComponent by component: an exact (case-insensitive) name match, otherwise the first non-hidden folder whose name contains the component
| in a path elementEverything after | is ignored, so @getinvworn output can be fed back directlyNot stripped: cuffs|30 must match a folder name literally, so the command fails
Leading #RLV/Stripped (Marine only; CoolVL's strip never fires)Not stripped; the path then looks for a folder named #RLV under #RLV
Single-component path equal to a layer or attachment point nameTreated as a folder path like any otherRead as a layer or point first, so e.g. @attach:chest=force for #RLV/chest fails with an option error
Folder not foundSilently does nothing; the command reports successFails with an option error
Stack prefix (+ by default)Only for the replace commands; checked separately for each folder, so in …all… each subfolder decides for itselfSwitches replace to add for the folder and everything below it; a second setting, RestrainedLoveReplaceWhenFolderBeginsWith (empty by default), switches add to replace
Objects with no attachment point in their nameAlways attached in stacking mode to the default/last-used point, even by the replace commandsAttached only while RLVaEnableSharedWear is on (the default), using the command's mode, so a replace command may knock off what is on the default point
No-modify items in point-named subfoldersA direct subfolder whose name contains a point and that holds exactly one no-modify objectA folded .(point) subfolder holding exactly one object (no no-modify requirement); .(nostrip) folders and folder links are also folded in
Replacing onto a point with a locked attachmentSkipped (the replace is checked with canDetach on the point)With RLVaWearReplaceUnlocked on (the default), the unlocked attachments on that point are replaced
Several clothing items of one type in a folderEach is worn with the command's mode (with a replace command, later items of a type may knock off earlier ones)The first replaces what is worn; the rest are added
Environment settings (EEP) itemsApplied as the local environment unless @setenv is restrictedIgnored
TimingExecuted as the command is processed; queued until login completesQueued and run as a batch at the end of the chat message (or earlier when a lock-changing command in the same message is processed); nothing is worn until initial wearables have loaded

The @addoutfit… force aliases behave like the matching @attach… command in both viewers, except that RLVa has no @addoutfitoverorreplace, @addoutfitalloverorreplace, @addoutfitthisoverorreplace or @addoutfitallthisoverorreplace. For the worn-item variants (@attachthis and family) see the @attachthis comparison.

See also