You'll find many topics with this:

Code:
on *:start: {
  server irc.network1.net -j #chan1,#chan2
  server -m irc.network2.net -j #chan3
  server -m irc.network3.net -j #chan4
}