I agree with spanky, lol, but this is how people learn I guess.
Perhaps you could make if for multiple servers aswell, encorporate that into the idea, for instance:
on *:connect:{
if ($network == Fake-IRC) {
ns identify password
join #
}
elseif ($network == AnotherFake-IRC) {
ns identify A different password
}
}
This way checks what network you're on, and does the appropiate actions.
And you could keep going basically, with elseifs.
I hope this helps. 6/10 for effort :)
BTW: There's no need for the /