mIRC Home    About    Download    Register    News    Help

Print Thread
Wonky nick identifier #177577 28/05/07 02:59 AM
Joined: Sep 2006
Posts: 11
noir Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Sep 2006
Posts: 11
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
}
}


Script Challenged.
Re: Wonky nick identifier [Re: noir] #177579 28/05/07 04:28 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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.

Re: Wonky nick identifier [Re: noir] #177590 28/05/07 12:08 PM
Joined: May 2007
Posts: 23
C
chiram Offline
Ameglian cow
Offline
Ameglian cow
C
Joined: May 2007
Posts: 23
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..

Re: Wonky nick identifier [Re: RusselB] #177592 28/05/07 12:22 PM
Joined: Sep 2006
Posts: 11
noir Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Sep 2006
Posts: 11
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.

Last edited by noir; 28/05/07 12:25 PM.

Script Challenged.
Re: Wonky nick identifier [Re: chiram] #177593 28/05/07 12:25 PM
Joined: Sep 2006
Posts: 11
noir Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Sep 2006
Posts: 11
chiram, I pasted the full thing.

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

Thank you.

Last edited by noir; 28/05/07 12:27 PM.

Script Challenged.
Re: Wonky nick identifier [Re: noir] #177685 29/05/07 04:44 PM
Joined: Jun 2006
Posts: 508
D
deegee Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
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
}

Re: Wonky nick identifier [Re: deegee] #177708 29/05/07 09:28 PM
Joined: Sep 2006
Posts: 11
noir Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Sep 2006
Posts: 11
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.


Script Challenged.
Re: Wonky nick identifier [Re: noir] #177714 29/05/07 10:36 PM
Joined: Jun 2006
Posts: 508
D
deegee Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
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"

Last edited by deegee; 29/05/07 10:43 PM.
Re: Wonky nick identifier [Re: deegee] #177725 30/05/07 12:03 AM
Joined: Jun 2006
Posts: 508
D
deegee Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
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
}