Project

General

Profile

Actions

Added in 1.8.10

$version

Returns the AdiIRC version number.

Note that this requires some scripts to be modified in order to allow them to work in both clients, as you would need to check a different number in each client. For example, if a script requires a minimum of mIRC v7.55, it might contain a line like:

if ($version < 7.55) goto syntax

However, that would also reject running the script in AdiIRC until the far distant future. To allow the script to run in both clients, you could use $~adiircexe to test if it's running inside AdiIRC, where you can test for the minimum $version or $builddate needed to run the script:

//if ((!$~adiircexe && $version < 7.55) || ($version < 4)) goto syntax

Updated by Paul Janson almost 4 years ago · 2 revisions

Also available in: PDF HTML TXT