On CONNECTFAIL » History » Version 3
  Per Amundsen, 11/17/2015 01:47 PM 
  
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ | 
|---|---|---|---|
| 2 | |||
| 3 | *<notextile>on <level>:CONNECTFAIL:<commands></notextile>* | ||
| 4 | |||
| 5 | Triggers when a connection attempt (including all retries) has failed. | ||
| 6 | |||
| 7 | _See also [[on CONNECT]], [[on DISCONNECT]]._ | ||
| 8 | |||
| 9 | *Parameters* | ||
| 10 | |||
| 11 | <level> - The level for the event to trigger. | ||
| 12 | <commands> - The commands to be performed when the event listener's criteria is met. | ||
| 13 | |||
| 14 | *Example* | ||
| 15 | |||
| 16 | <pre> | ||
| 17 | 3 | Per Amundsen | on *:CONNECTFAIL:echo -ag Unable to connect to $network $1- | 
| 18 | 1 | Per Amundsen | </pre> |