on *:CONNECT: { if ($network == Engine) { nick username msg NickServ IDENTIFY password join #Cars,#Fast,#Help...... } elseif ($network == Earth) { nick username msg NickServ IDENTIFY password join #Planet,...... } }