@versionnumbl=<channel> works like @versionnum, but appends the user's blacklist to the reply. The blacklist is the list of RLV commands the user has told the viewer to ignore. With this one query a script can learn both what the viewer supports and what the user has turned off.

Syntax

@versionnumbl=<channel>

Parameters

channel
A non-zero integer. The usual channel rules and length limits apply: 1023 characters on positive channels, 254 on negative ones. A long blacklist can be truncated on a negative channel.

Return value

<version_number> when the blacklist is empty. Otherwise <version_number>,<blacklist>, where blacklist is the raw blacklist setting, itself a comma-separated list. For example, Marine's viewer with blacklist sendim,recvim replies 2093500,sendim,recvim. Casting the reply to integer in LSL keeps only the leading number.

Examples

listen(integer c, string n, key id, string m)
{
    list parts = llCSV2List(m);
    integer ver = (integer)m;
    list blacklisted = llDeleteSubList(parts, 0, 0);
    if (~llListFindList(blacklisted, ["sendim"]))
        llOwnerSay("Your blacklist disables @sendim; this device will be limited.");
}

Notes

The blacklist itself only changes when the viewer restarts (spec). A command on the blacklist is acknowledged but ignored.

Implementation notes

Client differences

No differences found between Marine's RLV and CoolVL, apart from the version number itself. Note that CoolVL ships preset blacklists ("role-play" and "vanilla", built in RLInterface::init()) that the user can select, so its blacklist is more often non-empty.

See also

Comparison with RLVa

RLVa has no equivalent of this command.