Actually, you can just leave the identification and channel join in the perform window where they are, and only take the server part out.
So remove the "/server" line(s) from your perform, and leave the rest in. Then include the following code like 5618 recommended:
on *:START:{
server irc.gamesurge.net
server -mz irc.quakenet.org
}
I only made a small difference, and added -z to the server command. This will make the server window open "minimized". Works exactly the same, but it doesn't immediately switch your focus.
However, be sure to go to Options, Connect, Options, and disable connect on startup. Since your Remote is handling the connect, you don't want the mIRC options screen to handle a separate connect.