Added in 1.9.0

on <level>:CONNECTFAIL:<commands>

Triggers when a connection attempt (including all retries) has failed.

See also on CONNECT, on DISCONNECT.

Parameters

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

Example

on *:CONNECTFAIL:echo -ag Unable to connect to $network $1-