This can be easily scripted, simply use the /autojoin -s command in the on connect event & start whatever login you want to do, then when you get the event that signifies login complete use /autojoin -n & mIRC will join all the channels.