how about (just an example, not sure what the networks official name is):

Code:
on *:connect: {
  if ($network == freenode) { freenode's identify command }
   if ($network == quakenet) { quakenet's identify command }
   if ($network == riz0n) { riz0n's identify command }
}


Those who fail history are doomed to repeat it