Added in 1.9.0

on <level>:DISCONNECT:<commands>

Triggers when you quit or AdiIRC disconnects from a IRC Server.

See also on CONNECT, on CONNECTFAIL.

Parameters

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

Example

on *:DISCONNECT:echo -ag Disconnected from $network