You can middle-click a window's tab in mIRC to close it, including query windows. If you need something more advanced, you can intercept and reassign the CTRL+W behavior in mIRC by writing an AutoHotkey script. Download from www.autohotkey.com and visit #AHK on Freenode.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!