(→Parameters) |
(→Examples) |
||
Line 13: | Line 13: | ||
<source lang="mIRC">; Stop mIRC from reconnecting | <source lang="mIRC">; Stop mIRC from reconnecting | ||
; after a connection failure. | ; after a connection failure. | ||
− | ON *:CONNECTFAIL:disconnect</source> | + | ON *:CONNECTFAIL:echo -s connection to $servertarget failed: $1- | disconnect</source> |
== Compatibility == | == Compatibility == |
Revision as of 13:02, 6 February 2016
Template:mIRC Guide 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.
Synopsis
ON <level>:CONNECTFAIL:<commands>
Parameters
- <level> - The corresponding access levels for the event to trigger.
- <commands> - The commands to be performed when the event triggers
Examples
; Stop mIRC from reconnecting ; after a connection failure. ON *:CONNECTFAIL:echo -s connection to $servertarget failed: $1- | disconnect
Compatibility
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
A on Action, on Active, on Agent, on Appactive B on Ban C on Char, on Chat, on Chatclose, on Chatopen, on Close, on Connect, on Connectfail, on Ctcpreply D on Dccserver, on Dehelp, on Deop, on Deowner, on Devoice, on Dialog, on Disconnect, on Dns |
J on Join K on Keydown, on Keyup, on Kick M on Midiend, on Mode, on Mp3end |
Q on Queryclose, on Queryopen, on Quit S on Sendfail, on Serv, on Servclose, on Servermode, on Serverop, on Servopen, on Signal, on Snotice, on Sockclose, on Socklisten, on Sockopen, on Sockread, on Sockwrite, on Start U on Udpread, on Udpwrite, on Unban, on Unload, on Unotify, on Usermode |