use the "if" command

if ($server == irc.gamesurge.net) /msg nickserv blabla