on *:connect:#: { nickserv auth dallas | .timer 0 200 .ctcp $me ping }

I mean just ns or nickserv, not using /msg.
You could try this when you're connected: go to status window and type /nickserv auth dallas and see wether it returns unknown command or you're now authed...

btw: the on connect is only triggered when you connect, so your nick is always your nick...