@findfolder:<criteria>=<channel> searches the whole shared #RLV tree for folders whose names contain every search term, and says the path (relative to #RLV, separated by /) of the deepest match on channel.
@findfolder:<term1>[&&<term2>...]=<channel>
&&. A folder matches if its name contains all of them. Required: an empty option fails (RLV_RET_FAILED_OPTION), though an empty reply is still sent.DEBUG_CHANNEL is refused).A path such as Outfits/Red dress, or an empty string if nothing matched or there is no #RLV folder.
. (hidden) or ~ (pending "give to #RLV"), or contain /, never match. Non-hidden folders nested inside hidden folders are still searched and can match, since the whole subtree is walked./ characters; among equally deep matches the first one found wins (inventory model order, not alphabetical).integer CH = 7171;
default
{
state_entry()
{
llListen(CH, "", llGetOwner(), "");
llOwnerSay("@findfolder:gag&&ball=" + (string)CH);
}
listen(integer c, string n, key id, string msg)
{
if (msg != "") llOwnerSay("@attach:" + msg + "=force");
}
}
rlvhelper.cpp 306 as a plain RLV_TYPE_REPLY entry, handled by the legacy switch in RlvHandler::processReplyCommand (rlvhandler.cpp 3499-3502) and onFindFolder (3573-3612).RlvCriteriaCategoryCollector: rlvinventory.h 178-220. Search: RlvInventory::findSharedFolders, rlvinventory.cpp 198-212. Paths: getSharedPath, 322-348.rlvhandler.cpp 3556-3563); reply channel validation in rlvcommon.h 339-343.This command works differently from RLV's @findfolder; see the comparison.