$adiircexe » History » Revision 4
« Previous |
Revision 4/5
(diff)
| Next »
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.
//if (!$~adiircexe) echo -a this script is not running in AdiIRC
Can be used inside text.
Updated by Paul Janson almost 4 years ago · 4 revisions