There is no way to do that with mirc option but you can use dll to subclass the mirc main window, check when you click on the X button, and so, use /showmirc -t

You can use cwnd.dll : with this code :
Code:
//noop $dll(cwnd.dll,subclass,Ga $window(-2).hwnd)
;use this to subclass
;when something happen in the mirc main window, it will send the information to the on signal event :
on *:signal:cwnd:if ($1 == Ga) && ($2 == close) showmirc -t


i've not tested and just give this to help you but, maybe there is some problem i can't think of :]


#mircscripting @ irc.swiftirc.net == the best mIRC help channel