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.
| Aspect | RLV (Marine) | RLVa (Firestorm) |
|---|---|---|
| Path matching | Fuzzy: 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 match | Component by component: an exact (case-insensitive) name match, otherwise the first non-hidden folder whose name contains the component |
| in a path element | Everything after | is ignored, so @getinvworn output can be fed back directly | Not 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 name | Treated as a folder path like any other | Read as a layer or point first, so e.g. @attach:chest=force for #RLV/chest fails with an option error |
| Folder not found | Silently does nothing; the command reports success | Fails 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 itself | Switches 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 name | Always attached in stacking mode to the default/last-used point, even by the replace commands | Attached 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 subfolders | A direct subfolder whose name contains a point and that holds exactly one no-modify object | A 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 attachment | Skipped (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 folder | Each 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) items | Applied as the local environment unless @setenv is restricted | Ignored |
| Timing | Executed as the command is processed; queued until login completes | Queued 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.