From WikiChip
On Connectfail - Events - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The ON CONNECTFAIL event triggers when mIRC fails to connect to an IRC server. This event will also trigger during reconnect attempt disconnections. The $1- identifier is filled with any server disconnect message that is passed to mIRC.
Contents
[hide]Synopsis[edit]
ON <level>:CONNECTFAIL:<commands>
Parameters[edit]
- <level> - The corresponding access levels for the event to trigger.
- <commands> - The commands to be performed when the event triggers
Examples[edit]
; Stop mIRC from reconnecting ; after a connection failure. ON *:CONNECTFAIL:echo -s connection to $servertarget failed: $1- | disconnect
Compatibility[edit]
Added: mIRC v6.02
Added on: 06 Jun 2002
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also[edit]
[Expand]
mIRC on event list