@unsharedwear=n stops the user from wearing or attaching any item that is not inside the shared #RLV folder tree. Everything under #RLV stays wearable, so an outfit system can limit the wearer to the clothing it manages. It is the counterpart of @sharedwear; the "remove" half is @unsharedunwear.
@unsharedwear=<n|add>
@unsharedwear=<y|rem>
None. Any option makes the command fail.
#RLV root (subtree scope). The allow lock is what keeps #RLV wearable.isLockedFolder consults them only after walking the folder tree, and only if no allow lock was met on the way up. An allow lock met on the way up (from any object) therefore frees the item.#RLV (rlvlocks.h 614-658).#RLV are blocked too, because they go through the same canAttach/canWear checks. Force-wear commands only ever target #RLV in the first place, so in practice this affects manual wearing._sec form, no exceptions.// Only things in #RLV may be put on
llOwnerSay("@unsharedwear=n");
@sharedwear, this behavior is not flagged BHVR_EXTENDED in the dictionary.=n/=add and =y/=rem are equivalent.rlvhelper.cpp 189 – RlvBehaviourInfo("unsharedwear", RLV_BHVR_UNSHAREDWEAR, RLV_TYPE_ADDREM).rlvhandler.cpp 1660-1681 (shared with @unsharedunwear): lock source (ST_ROOTFOLDER, 0) with PERM_DENY, then (ST_SHAREDPATH, "") with PERM_ALLOW, both SCOPE_SUBTREE, lock type RLV_LOCK_ADD.RlvFolderLocks::isLockedFolder, rlvlocks.cpp 1213.rlvlocks.h 426-435, 514-519.No significant differences from RLV's @unsharedwear.