-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
$exiting Identifier - mIRC
< mirc | identifiers(Redirected from $exiting identifier - mIRC)
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
- mIRC Installation
- Virtual profile
- Playing music
- Unicode
- IPv6
- Optimization
- Threads
- DCC Protocols
- Line Length Limit
- Font rendering
The $exiting identifier returns whether mIRC is exiting, not exiting, or if it is restarting. The identifier is filled with 1, 0, and 2, respectively.
Contents
[hide]Synopsis[edit]
$exiting
Returns[edit]
0 mIRC is not exiting
1 mIRC is exiting
2 mIRC is restarting
Example[edit]
; Check in an on exit event if mIRC is exiting ON *:EXIT:echo -a mIRC is $iif($exiting,$iif($exiting == 1,exiting,restarting),not exiting)
The above example will return the proper condition for whether or not mIRC is exiting. An example output is below:
mIRC is not exiting
Compatibility[edit]
Added: mIRC v7.23
Added on: 19 Mar 2012
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also[edit]
[Expand]