From WikiChip
Difference between revisions of "mirc/on events/on connectfail"
< mirc‎ | on events

m (Bot: Automated text replacement (-Added On:.+\n?\n?\n?\n?\n? +))
m (Bot: Fixing compatibility)
Line 15: Line 15:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v6.02
+
{{mIRC compatibility|6.02}}
  
 
== See Also ==
 
== See Also ==

Revision as of 03:31, 6 July 2014

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 level for the event to trigger.

<commands>The commands to be performed when the event listener's criteria is met.

Examples

; Stop mIRC from reconnecting
; after a connection failure.
ON *:CONNECTFAIL: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