mIRC Homepage
Posted By: captain_obvious what would i use? - 29/07/03 09:22 PM
im trying to make an auto identify script so i dont have to type out the ircds long copmmands smile im am very lazy...

what ON event woud u use to catch this?

2:54pm -NickServ- This nickname is registered and protected. If it is your
-
2:54pm -NickServ- nick, type /msg NickServ IDENTIFY password. Otherwise,
-
2:54pm -NickServ- please choose a different nick.

thanks for anyhel you can give smile
-
Posted By: Hammer Re: what would i use? - 29/07/03 09:24 PM
/help on NOTICE
Posted By: captain_obvious Re: what would i use? - 29/07/03 09:31 PM
ahh thanks, i just didnt knwo if it was on notice or on snotice smile
Posted By: Hammer Re: what would i use? - 29/07/03 09:55 PM
-ithaca-s.ny.us.dal.net- *** Global -- from Hammer: greetings

That's the general format of an SNotice (which can vary by IRCd). Notice that the nick is a server. Thus, server notice.
Posted By: captain_obvious Re: what would i use? - 29/07/03 10:03 PM
this is what i use, buit it doesnt identify... maybe my code is wrong but i dont get an error?


on *:NOTICE:*This nickname is registered and protected.*: {
msg nickserv identify $decode(%password)
echo -s $timestamp Your Password has been sent to services!

}
Posted By: codemastr Re: what would i use? - 29/07/03 10:14 PM
on *:NOTICE:*This nickname is registered and protected.*:?: {
if ($nick == nickserv) {
msg nickserv identify $decode(%password)
echo -s $timestamp Your Password has been sent to services!
}
}
Posted By: captain_obvious Re: what would i use? - 29/07/03 10:23 PM
thanks, i thought that ? was for the use of query :| and since it didnt open in a query window i didnt even consider using ? but heh thats what i get for being a newb smile
Posted By: codemastr Re: what would i use? - 30/07/03 03:56 AM
Sorta, the ? really means "sent directly to you"

Like /notice your_nick hi

You'd use # for "sent to channel"
Like /notice #some_chan_you_are_on hi
© mIRC Discussion Forums