Author Topic: Send nickserv password on notice from nickserv  (Read 5250 times)

Weirdguy

  • Newbie
  • *
  • Posts: 3
Send nickserv password on notice from nickserv
« on: October 06, 2006, 07:06:06 PM »
Well right now on +R channels i go autoaway and then get kicked 1 min later by nickserv. What would a script that autosends my nickserv pass on a notice from nickserv look like?  :?

Something like this I think?

Quote
sub ONNOTICE(This nickname is registered and protected.  If it is your nickname, type /msg NickServ IDENTIFY password.  Otherwise, please choose a different nickname,NickservHost,ServerNumber)
SendCommand "/notice" identify " PASSWORD ", ServerNumber
end sub

But i really have no idea, help?  :?

I got this all form the icechat help file so  :oops:

Morio

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 256
Re: Send nickserv password on notice from nickserv
« Reply #1 on: October 07, 2006, 01:30:53 AM »
You might wanna use the autoperform option in the server editor.
"I don't know what World War 3 will be fought with, but I know World War 4 with be fought with sticks and stones." - Albert Einstein

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: Send nickserv password on notice from nickserv
« Reply #2 on: October 07, 2006, 09:54:16 AM »
WeirdGuy, you totally changed the ONNOTICE Sub call. You took out "Message".
What you need to do is inside the sub, check if Message = "This nickname is protected" ,etc, etc, and then send the notice.
The IceChat God