@getpath[:<option>]=<channel> replies with the shared-folder path (relative to #RLV) of a worn item. With no option it reports the folder the issuing attachment was worn from. If several items match the option, only the first one's folder is reported; use @getpathnew to get all of them.
@getpath=<channel>
@getpath:<layer|attachpt|uuid>=<channel>
shirt, skin, …): all items worn on that layer;A path such as Toys/Cuffs/Wrist, or an empty string if the item is not inside #RLV, nothing matched, or the option was invalid. When an item lives in a folded folder (e.g. .(spine)) the path of its parent is given.
// Where was I worn from? Lock that folder
llOwnerSay("@getpath=7012");
// ... in listen(): llOwnerSay("@detachallthis:" + msg + "=n");
rlvhelper.cpp 326. Handler RlvHandler::onGetPath, rlvhandler.cpp 3998-4025 (uses folders.at(0)).RlvCommandOptionGetPath, rlvhelper.cpp 1025-1075, on top of the generic parser at 943-968; COF lookups 1077-1110. Folder resolution: RlvInventory::getPath, rlvinventory.cpp 214-237.RlvCommandOptionGetPath can wait up to 30 seconds for a not-yet-attached issuer, but only when given a callback; @getpath passes none, so a query sent from an attachment during its attach event, before the viewer has the object, may get an empty reply.No significant differences from RLV's @getpath.