Added in 1.9.0
For DCC Chat windows, it only triggers when the connection is closed.
Trigger for various events relating to the closing of a window of different types of windows.
See also on OPEN.
; Print a message when a query window is closed. on *:CLOSE:?:*:echo -ag Closed query window for $nick