Skip to content

Version Checking

Commands to check RLV/RLVa version and capabilities.

@version

@version=<channel_number>

Version: v1.0b

Makes the viewer say the RLV API version on the specified channel. Use a non-zero integer for the channel number.

Warning

When logging in, on_rez events occur before the avatar can send chat messages. Use a timeout of 30-60 seconds.

Note

This command returns "Restrained Life" for historical compatibility. Use @versionnew for new scripts.

@versionnew

@versionnew=<channel_number>

Version: v1.23

Successor to @version. Returns "RestrainedLove viewer v..." (note: "RestrainedLove" is one word).

@versionnum

@versionnum=<channel_number>

Version: v1.21

Returns the version number as an integer. If version is X.Y.Z.P, the number is X*10^6 + Y*10^4 + Z*10^2 + P.

Example: Version 1.21.1 returns 1210100.

@version (with :impl)

@version[:impl]=<channel_number>

Version: RLVa

Returns the RLVa implementation version number as a numeric string. This query is used to distinguish RLVa from standard RLV and to determine the specific RLVa build.

Note

When called without :impl, behaves identically to @version=<channel>.

@version (Manual)

@version (via IM)

Version: v1.0a

Send this command via IM from an avatar to the user. The viewer replies with its version in IM, but neither message nor answer appears in the IM window.

@versionnumbl

@versionnumbl=<channel_number>

Version: v2.8

Returns the version number followed by a comma and the blacklist contents.

Example: "2080000,sendim,recvim"

@getblacklist

@getblacklist[:filter]=<channel_number>

Version: v2.8

Returns the contents of the blacklist, optionally filtered by the specified text.

Manual variant

@getblacklist (via IM)

Version: v2.8

Send via IM to get the blacklist contents returned in IM.


See also: RLVa-Specific Commands for additional version-related commands.