$adiircexe » History » Revision 4
Revision 3 (Per Amundsen, 08/06/2015 03:25 AM) → Revision 4/5 (Paul Janson, 03/08/2021 10:52 AM)
_Added in 1.9.0_
*$adiircexe*
Returns the full path and filename of the AdiIRC executable file.
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.
<pre>
//if (!$~adiircexe) echo -a this script is not running in AdiIRC
</pre>
_Can be used inside text._