On CONNECTFAIL » History » Version 4
Per Amundsen, 02/24/2017 09:41 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 | 4 | Per Amundsen | <level> - The [[User Access Level]] for the event to trigger. |
| 12 | 1 | Per Amundsen | <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> |