@versionnum=<channel> makes the viewer say the version of the RLV API it implements, as a bare integer. This is the recommended way to detect RLV and to check which features it has. The number is the API version, not the host viewer's version.
@versionnum=<channel>
For API version X.Y.Z.P the reply is X·106 + Y·104 + Z·102 + P, written as an integer with no separators. Marine 2.09.35.00 replies 2093500. CoolVL 2.09.29.30 replies 2092930. Neither reply includes the blacklist; use @versionnumbl for that.
integer CH = -99331;
default
{
state_entry()
{
llListen(CH, "", llGetOwner(), "");
llOwnerSay("@versionnum=" + (string)CH);
llSetTimerEvent(60.0);
}
listen(integer c, string n, key id, string m)
{
llSetTimerEvent(0.0);
if ((integer)m >= 2092900) llOwnerSay("API 2.9.29 or later: @sitground is available");
}
timer() { llSetTimerEvent(0.0); llOwnerSay("No RLV."); }
}
RR_VERSION_NUM from RRInterfaceVersion.h ("2093500"). It goes through the early version path in reallyHandleCommand (RRInterface.cpp:1773-1832).RL_VERSION_NUM ("2092930", mkrlinterface.h:34) from handleCommand (mkrlinterface.cpp:1793-1796).The two clients report different numbers (2093500 and 2092930) because they implement different API versions. Otherwise there are no differences, apart from the shared channel and early-reply handling described on @version.
This command works differently from RLVa's @versionnum; see the comparison.