From WikiChip
$isadmin identifier - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$isadmin Returns $true if mIRC is running in an elevated, administrator state, otherwise $false.
Synopsis
$isadmin
Parameters
None
Properties
None
Notes
If mIRC is running in elevated 'run as administrator' state:
- all executibles launched with /run will also have elevated state, even if /run's -a switch is not used.
- The UAC prompt will not appear when using /run -a to launch a program.
Example
//echo -a $isadmin
Compatibility
Added: mIRC v7.58
Added on: 17 Nov 2019
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.