@attachthis_except:<folder_path>=n adds an allow entry (PERM_ALLOW) to RLVa's folder locks. Folder locks from @attachthis/@attachallthis stop items being worn; those from @detachthis/@detachallthis stop them being removed. This command exempts exactly the named folder (not its subfolders) from the wear (RLV_LOCK_ADD) locks that the same object has placed on it or on one of its ancestors.
@attachthis_except:<folder_path>=<n|add|y|rem>
#RLV (separated by /, case-insensitive, with partial matching on each component). It must resolve to an existing shared folder when the command is issued. Otherwise, or when the option is empty, the command fails with an option error._except takes add/rem. The code also accepts =n/=y, because both spellings map to the same command type.RLV_BHVR_ATTACHTHISEXCEPT.// Lock everything under #RLV/outfits except #RLV/outfits/spare
llOwnerSay("@attachthis:outfits=n,attachthis_except:outfits/spare=n");
RlvBehaviourInfo("attachthis_except", RLV_BHVR_ATTACHTHISEXCEPT, RLV_TYPE_ADDREM, FORCEWEAR_NODE) (rlvhelper.cpp:97).RlvHandler::onAddRemFolderLockException() (rlvhandler.cpp:2033-2061), which requires isSharedFolder() and adds a PERM_ALLOW lock with source ST_SHAREDPATH.RlvFolderLocks::isLockedFolder() (rlvlocks.cpp:1149-1214): allow owners are collected in idsRlvObjAdd/idsRlvObjRem and their later deny entries are skipped.No significant differences from RLV's @attachthis_except.