Project

General

Profile

$adiircexe » History » Version 4

Paul Janson, 03/08/2021 10:52 AM

1 1 Per Amundsen
_Added in 1.9.0_
2 2 Per Amundsen
3
*$adiircexe*
4 1 Per Amundsen
5
Returns the full path and filename of the AdiIRC executable file.
6 3 Per Amundsen
7 4 Paul Janson
In combination with $~ this can be used to test which client is running the script. You cannot assume the client name based on the filename.exe, but instead testing whether $adiircexe exists as a built-in identifier. The $~ prefix allows the test to evade the presence of a custom alias of that name, and it also does not trigger the optional identifier warning.
8
9
<pre>
10
//if (!$~adiircexe) echo -a this script is not running in AdiIRC
11
</pre>
12
13 3 Per Amundsen
_Can be used inside text._