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

m (Bot: Adding a template (template:mIRC on event list))
m (Bot: Fixing links)
Line 22: Line 22:
 
* [[On connect - mIRC|ON CONNECT]]
 
* [[On connect - mIRC|ON CONNECT]]
 
* [[On disconnect - mIRC|ON DISCONNECT]]
 
* [[On disconnect - mIRC|ON DISCONNECT]]
* [[$network identifier - mIRC|$network]]
+
* {{mIRC|$network}}
* [[$server identifier - mIRC|$server]]
+
* {{mIRC|$server}}
 
{{mIRC on event list}}
 
{{mIRC on event list}}
  
 
[[Category:MIRC on events]]
 
[[Category:MIRC on events]]

Revision as of 21:04, 5 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/06/2002

See Also