Originally Posted By: westor
If you manually close an channel window then you must use the ON *:PART:#: { if ($nick == $me) { do_stuff } } event.


Is "on part" called when you exit from mIRC, before the DISCONENCT/QUIT etc events?