A CoolVL extension. It replies with the names of the RLV commands the viewer knows and has not blacklisted, so a script can discover features without relying on version numbers.

Syntax

@getcommand[:<partial_name>]=<channel>

Return value

A list of names, each preceded by /, in alphabetical order (e.g. /detach/detach%f/detachall%f/…). Each name is listed as follows:

With a filter, only names containing it are returned. Blacklisted names are left out.

Caveats

Examples

llOwnerSay("@getcommand:sit=81234");
// e.g. "/sit/sit%f/sitground%f/sittp/unsit/unsit%f"

See also

Implementation notes

CoolVL: dispatch at mkrlinterface.cpp 1824-1827. getCommand() (3208-3231) iterates sCommandsMap, a std::map so the order is alphabetical, filled in init() (296-545). Not queued: queueCommand() 2081-2111.

Client differences

CoolVL only. Marine's RLV 2.09.35.00 has no getcommand handling.

Comparison with RLVa

This command works differently from RLVa's @getcommand; see the comparison.