I don't know the exact context, but you need to look at the notices you receive.
on *:NOTICE:*:?:{
;*someone else* :is supposed to represent the message nickserv sends you to tell you to authorise
if ($nick == Nickserv) && (*someone else* iswm $1-)) { msg nickserv identify <password_for_$me>
}
you may want to put a timer on it, so if nickserv doesn't reply within a certia amount of time to sya you have been identified that you request it again...
As another suggestion, you could do:
on *:CONNECT:{ msg nickserv identify <password_for_$me> }
I think that's about the lines of what you want...
Hope it helps