on *:connect: {
if ($server == IRCHighway) {
identify password
}
elseif ($server == Dalnet) {
identify password2
}
}
on *:snotice:*: {
if ($server == IRCHighway && AUTH'd successfully iswm $1-) {
join #chan
}
elseif ($server == Dalnet && AUTH'd successfully iswm $1-) {
join #otherchan
}
}
Replace Dalnet and IRCHighway above with your server(s). Note that you don't use irc.undernet.org or anything like that for this... just the server name itself. If you don't know the name, connect to the server and type
//echo -a $server . Also, replace the passwords and the channels to join.
And, make sure the identify line and the text for the successful auth message are correct for your server.