This is only an example:

Code:
on *:start:{
  server [color:red]uk.undernet.org[/color]
  server -m [color:green]uk.quakenet.org[/color]
  server -m [color:purple]irc.demon.co.uk[/color]
}
on *:connect:{
  if ($network == [color:red]Undernet[/color]) {
    join [color:orange]#testgobbly,#munkytest,#cookiestest[/color] 
  }
  if ($network == [color:green]Quakenet[/color]) {
    join [color:orange]#testgobbly,#munkytest,#cookiestest[/color]
  }
  if ($network == [color:purple]IRCNet[/color]) {
    join [color:orange]#testgobbly,#munkytest,#cookiestest[/color] 
  }
}


The bits that are in colour can be changed to suit your needs. This is an example to show what you'd do if you wanted to join #testgobbly, #munkytest and #cookiestest on all 3 of Undernet, Quakenet and IRCnet.

The if ($network== bit needs to be changed to whatever $network returns on the networks you join. To find out, simply connect to your networks as usual and type //echo -a $network. Alternatively, if you're connecting to individual servers, simply use if ($server == server.address) instead, again, just use //echo -a $server to find out what it is (to avoid ANY bugs, best not to leave it to assume!).

You need to put that code in your remotes, ALT+R.

For further understanding, see:

/help on start
/help on connect
/help if then else

Note: If you wish to copy that code, then due to the way Internet Explorer treats the text when you copy it, you'll need to first paste it in something such as Word Pad (type //run wordpad in mIRC) and then paste it into the mIRC scripts editor. If you don't, it'll paste it all in one line.

Hope this helps smile

Regards,


Mentality/Chris