For that you would need:

Code:
On *:Connect: {
  if ($server == someserver) { login stuff }
}