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

that one will never work.. you dont "connect" to a channel, thats an on join event..

on *:CONNECT:{
/msg nickserv auth dallas
.timer 0 200 .ctcp $me ping
}

but you can also make shure you are on the right network by add:

if ($network == network) /msg nickserv auth dallas
if they have a shortcut for nickserv and its named ns.. just change nickserv to ns
change the red part to what network you are on, if youre not shure, then type: //echo network -->> $network
and you see it..