Thanks for the suggestion, but if mIRC is already minimized, /window -an still pops it up out of the system tray and activates it. In my environment, all MDI channel windows are kept maximized within mIRC.
No promises, but it looks like you need to add the n switch to the -a.
n = minimize window