@sharedwear=n locks the whole #RLV folder against wearing: nothing whose parent folder is under #RLV can be put on. Items stored elsewhere in inventory are unaffected (see @unsharedwear for the opposite).
@sharedwear=<y|n>
canAttachCategory(parent folder), used when wearing an item or folder (by the user) and when attaching an object.@attach…=force) target #RLV folders and are probably refused per item while this is active.llAttachToAvatar) is detached again if canAttach refuses it after the garbage collector's first run, and reported as attached illegally.llOwnerSay("@sharedwear=n");
Marine: canAttachCategory (RRInterface.cpp:5621-5642) returns false when the folder is shared and contains("sharedwear"). isFolderLocked (1093-1104) uses it for the inventory display. canWear(item) (5877-5920) and canAttachWithExplanation (6101-6123) call canAttachCategory.
CoolVL behaves the same (mkrlinterface.cpp:6644-6660). Its "recently received" exemption is compiled only when RL_ALLOW_ATTACH_DETACH_RECENTLY_RECEIVED_ITEMS is set.
No significant differences from RLVa's @sharedwear.