Try this it works for me

on *:NICK: { if (( $newnick == $me ) && ( guest isin $newnick )) { /nick NICK | /msg Nickserv Identify PASSWORD } }





Intelligence: It's better to ask a stupid question, then to prove it by not asking....