Perform isn't ideal for these things. I'd recommend using a remote script.

- Alt+R > Remote
- If the file/screen is empty, continue, else: File > New
- Add this code:
Code:
on *:START:{
  server irc.gamesurge.net
  server -m irc.quakenet.org
}
on *:CONNECT:{
  if ($network === GameSurge) join #fhmod
  elseif ($network === QuakeNet) { .msg Q@CServe.quakenet.org AUTH | .timer 1 2 join #bfbc2.fi }
}

There are prettier ways to do this, like joining the channel only after receiving a notice that you have successfully identified, but it will probably do what you want.