Could you not add a check at startup (before the mIRC window is created) to see if another instance of mIRC is running, and if so tell that copy to connect to the server using SendMessage() ?