The on CLOSE events trigger for various events relating to the closing of a window.
Read access levels to get more info about the <level> field.
The location where this event occurrs can be either a channel (#), a query (?), a DCC-window (=) or a fileserver-window (!) or everything (*).
Note that in the case of dcc sessions, it is trigger when a dcc connection has closed.
This example would trigger on every close of a window and echo it to the status window.
This triggers on the close of a query window and sends the nick a message.
- On open event to trigger on the opening of a window.