Added in 1.8.10

on <level>:ERROR:<matchtext>:<commands>

Triggers when an IRC Server sends an ERROR message, this usually occurs on a disconnect.

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 *:ERROR:*:echo -ag Received error: $1- from the server