Project

General

Profile

$adiircexe » History » Version 5

Per Amundsen, 02/23/2023 05:16 PM

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 5 Per Amundsen
_Same as [[$mircexe]]._
14
15
_Can be used inside text without being surrounded by white spaces._
16
17
*Example*
18
19
<pre>
20
//echo -ag the adiirc exe file is $adiircexe.. notice how $adiircexeisreplacedhere
21
</pre>