@sharedwear=n stops the user from wearing or attaching any item that lives anywhere inside the shared #RLV folder (the whole subtree). Items stored elsewhere in inventory are not affected. It is the "add" half of a pair: @sharedunwear is the matching "remove" lock.

It is implemented as an RLVa folder lock: a deny lock of type "add" with subtree scope on the #RLV root folder, owned by the issuing object.

Syntax

@sharedwear=<n|add>     add the restriction
@sharedwear=<y|rem>     remove the restriction

Parameters

None. The command takes no option; @sharedwear:anything=n fails with an option error.

Caveats

Examples

// Nothing from #RLV may be put on while this object is worn
llOwnerSay("@sharedwear=n");

// Lift it again
llOwnerSay("@sharedwear=y");

Notes

See also

Implementation notes

Comparison with RLV

No significant differences from RLV's @sharedwear.