Code:
on *:Connect: { 
  if ($server == server.one.address) { 
    oper name password
    ns identify password
    j #blah
    j #blah1
    j #blah2
  }  
  if ($server == server.two.address) { 
    ns identfy password
    j #blah
  }  
  if ($server == server.one.address) { 
    j #blah
  }
}