Lists subfolders like @getinv, and adds a two-digit "worn" code to each. The reply starts with the code for the queried folder itself, which has no name.
@getinvworn[:<folder1/.../folderN>]=<channel>
|XY,Name1|XY,Name2|XY,...
The first entry (|XY with no name) describes the queried folder. X describes the items directly in the folder, and Y everything in its subfolders combined:
0: no wearable items (objects, clothing, body parts);1: items present, none worn;2: some worn;3: all worn.#RLV are ignored. The root's first digit is always 0..-prefixed subfolder holding a single no-modify object, and named after an attachment point, counts as that one item of its parent (worn or not). It is not reported as a subfolder. Other . folders are ignored.0 results are neutral. Any mix of "none" and "all" (or any 2) gives 2.10 or 30.getLinkedUUID()), so a link to a worn item counts as worn.@attach etc.: everything after | is ignored when a path is resolved.@getinv.llOwnerSay("@getinvworn:Restraints/Leather cuffs=81234");
// e.g. "|02,Arms|30,Legs|10"
getInventoryList(path, true) RRInterface.cpp 2823-2878. getWornItems() 2880-3008 returns the two digits, or n/N for a no-mod single-item folder, which the caller turns into 10/30.
No functional differences found (CoolVL mkrlinterface.cpp 3486-3764), apart from CoolVL's norelay filtering for relayed commands.
No significant differences from RLVa's @getinvworn.