mIRC Homepage
Posted By: noir Wonky nick identifier - 28/05/07 02:59 AM
I have a few nicks, and I use a auto nick identifier to go through a txt file with a list of my nicks.

It's not working now and I'm not sure what I did to it - if I accidently deleted something or another...

I'm enclosing the script... I would appreciate any help in correcting this problem.

Thank you in advance.


{
var %nickNbr = $1
if %nickNbr !isnum {
%nickNbr = 1
}
nick $read -l %nickNbr nicklist.txt
/msg nickserv identify $nickserv password
inc %nickNbr
if %nickNbr <= $lines(nicklist.txt) {
.timerb1 1 $autoIdentDelay ident %nickNbr
}
}
Posted By: RusselB Re: Wonky nick identifier - 28/05/07 04:28 AM
First thing I would suggest, rather than using a script to identify all of your registered nicks, especially if they all use the same password (as it appears they do), check the nickserv options on the network and see if it supports the group function.

You can do this quickly and easily using
Code:
/msg nickserv help group

You'll either get the help information, or you'll get a message indicating that the group option isn't available.

If it is available, I suggest you pick one main nick, then group the rest to that nick. Then you only have to identify for one nick, and the rest will be identified for automatically.
Posted By: chiram Re: Wonky nick identifier - 28/05/07 12:08 PM
did you paste the full thing or did you intentionally cut the alias name out? judging by what the timer is passing the "ident" alias it seems like that might be your "ident" alias and only need "alias ident {" to be added..

Code:
alias ident {
  var %nickNbr = $1
  if %nickNbr !isnum { 
    %nickNbr = 1 
  }
  nick $read -l %nickNbr nicklist.txt
  /msg nickserv identify $nickserv password
  inc %nickNbr
  if %nickNbr <= $lines(nicklist.txt) {
    .timerb1 1 $autoIdentDelay ident %nickNbr
  }
}


not sure if you have something to activate that alias though..
Posted By: noir Re: Wonky nick identifier - 28/05/07 12:22 PM
Russel: The nick group feature is available, and nicks are all grouped together but they all still have to be identified individually or they will drop (in three months) even if one signs on to the primary one.
Posted By: noir Re: Wonky nick identifier - 28/05/07 12:25 PM
chiram, I pasted the full thing.

I'll give the one with the added alias ident a try...

Thank you.
Posted By: deegee Re: Wonky nick identifier - 29/05/07 04:44 PM
You can often identify to a nick while not using it with /nickserv identify <nick> <passwd>
If that's the case on your network, you can replace that script with these two lines
Code:
alias ident .play -ap +ident nickserv nicklist.txt
alias -l +ident nickserv identify $$2 password


If your network doesn't allow identying to a different nick than what you're currently using, this has a 2 second delay between each nickchange/identify. You can adjust the delay by changing the "2000" to whatever you like (in milliseconds).
Code:
alias ident .play -ap +ident nickserv nicklist.txt 2000
alias -l +ident {
  tnick $$2
  nickserv identify password
  nick $mnick
}
Posted By: noir Re: Wonky nick identifier - 29/05/07 09:28 PM
I've tried the ones above, and I can't seem to get them to function correctly...

How would I activate them, please?

My apologies for the newbie questions.
Posted By: deegee Re: Wonky nick identifier - 29/05/07 10:36 PM
Test if /nickserv identify nick password works first, replacing "nick" with a registered nick and "password" with the correct password.

If the command works, you need only the 1st (2 line) script.
Change the word "password" on the 2nd line to your real password.
Type /ident

If your network doesn't allow /nickserv identify nick password, then use the second script which changes nicks before identifying.
Change the word "password" on the 4th line to the real password.
Type /ident

Both rely on 'nicklist.txt' being in mircs folder.
Also note that you'd need to remove the previous 'ident' alias to allow this one to function.


Edit: Noticed you'd used $nickserv password in your original script. Perhaps you have a custom nickserv identifier returning the password, if so, you can change "password" to "$nickserv"
Posted By: deegee Re: Wonky nick identifier - 30/05/07 12:03 AM
Actually if you have a 'nickserv' identifier/alias then those won't work right as they are because mIRC won't pass "nickserv" onto the server as a command if it is a defined alias.
They should be changed...
Code:
alias ident .play -ap +ident nickserv nicklist.txt
alias -l +ident .msg nickserv identify $$2 password
and
Code:
alias ident .play -ap +ident nickserv nicklist.txt 2000
alias -l +ident {
  tnick $$2
  .msg nickserv identify password
  nick $mnick
}

© mIRC Discussion Forums