@version=<channel> makes the viewer say its RLV version string on channel. It is the oldest version query. In RLVa it reports the legacy product name "RestrainedLife":

RestrainedLife viewer v3.4.3 (RLVa 2.4.2)

Syntax

@version=<channel>

Parameters

channel
Positive chat channel on which the viewer answers.

Caveats

How replies are delivered (all reply commands)

Examples

integer chan = 0;
default
{
    state_entry()
    {
        chan = 100000 + (integer)llFrand(900000);
        llListen(chan, "", llGetOwner(), "");
        llOwnerSay("@version=" + (string)chan);
        llSetTimerEvent(30.0);   // no viewer (or no RLV) => no answer
    }
    listen(integer c, string n, key id, string msg)
    {
        llSetTimerEvent(0.0);
        llOwnerSay("Viewer says: " + msg);
    }
    timer()
    {
        llSetTimerEvent(0.0);
        llOwnerSay("No RLV viewer detected.");
    }
}

See also

Implementation notes

Comparison with RLV

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