mIRC Homepage
Posted By: kwell Auto identify - 21/07/10 11:52 AM
What am I doing wrong? not identified
Code:
on $*:text:$(/\b( $+ $me $+ | $+ IDENTIFY password $+ )(\b)/i):*: {
  if $regml(1) = $me {
    Alert
    echo @Alert $asctime(HH:nn) # $nick : $1-
    flash -w @Alert
    halt
  }
  if $regml(1) = IDENTIFY password { 
    if $level($nick) = Services { /IDENTIFY XXXXXX }
  }
}

Services:NickServ!*Services@server.irc
Posted By: Riamus2 Re: Auto identify - 21/07/10 03:03 PM
Nickserv messages are usually notices, so use on NOTICE instead of on TEXT. See if that helps.
Posted By: Tomao Re: Auto identify - 21/07/10 03:08 PM
kwell, I think you could use an if and then else for this. Since you've indicated $regml(1) = $me. Then if it's not $me, it has to be the password. And you don't need the $+ for the password section.
Posted By: kwell Re: Auto identify - 21/07/10 10:11 PM
Thanks folks, replace Services:NickServ!*Services@server.irc by Services:NickServ and it worked
© mIRC Discussion Forums