on *:Connect:{ if ($server == servernamehere) && ($nick == nickhere) { .msg nickserv identify pass } }