And what about if the server netsplit and the services came back or when restarting network services and the user is on the currently channels that have joined on the CONNECT ?

e.g:
Code:
on *:notice:Password accepted*:*{
  if ($nick == nickserv) { .join #chan1,#chan2,#chan3 }
}


this must be like this corrected:

Code:
on *:notice:Password accepted*:*{
  if (($nick == nickserv) && ($me !ison #chan1,#chan2,#chan3)) { .join #chan1,#chan2,#chan3 }
}