@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.

Syntax

@findfolder:<term1>[&&<term2>...]=<channel>

Parameters

criteria
One or more substrings separated by &&. 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.
channel
Positive integer chat channel for the reply (channel 0 only from the RLVa console; DEBUG_CHANNEL is refused).

Return value

A path such as Outfits/Red dress, or an empty string if nothing matched or there is no #RLV folder.

Caveats

Examples

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");
    }
}

Notes

Implementation notes

See also

Comparison with RLV

This command works differently from RLV's @findfolder; see the comparison.