Nick recovering

By Dennace on Jan 09, 2007

Little alias script for recovering your nickname or ghosting your nickname. After ghosting/recovering it takes that name and identifies.
Just type
/ghost to ghost
or
/recover to recover your nickname.
Its kind of a begginner script but it works and works well :)

alias recover {
  set %yourname $1
  set %pass $2
  timer12 1 1 msg nickserv recover %yourname %pass
  timer2 1 2 msg nickserv release %yourname %pass
  timer3 1 3  /nick %yourname
  timer4 1 4 msg nickserv identify %pass
  timer14 1 5 {
    unset %yourname
    unset %pass
  }
}
alias ghost {
  set %yourname $1
  set %pass $2
  timer13 1 1 msg nickserv ghost %yourname %pass
  timer5 1 2 /nick %yourname
  timer6 1 3 msg nickserv identify %pass
  timer15 1 4 {
    unset %yourname
    unset %pass
  }
}

Comments

Sign in to comment.
Dennace   -  Jan 10, 2007

It needs to use the timers to stop it from;
killing the nick
then
attepting to take the locked nick
then
failing to take the nickname
then
identifying for no reason

I tried it without the timers and thats what it did

Remember, it has to be done in the order...
Also, I use the variables because its just what I like to do

 Respond  
Noutrious   -  Jan 09, 2007

Oh, if really - Acid-Religion is right.

 Respond  
Acid-Religion   -  Jan 09, 2007

Why use variables at all? You can just use $1 and $2... Also you use / which are not needed, not much, just looks cleaner without them. Also, the timer to ghost and recover are not needed, just use msg nickserv etc etc..

 Respond  
Noutrious   -  Jan 09, 2007

timer14 1 5 {
unset %yourname
unset %pass
}
omg just use var for variables - var %01 = 1337 and u wont need to unset it!

 Respond  
SyntaxIRC   -  Jan 09, 2007

timer {
commands
}

Invalid. That\'ll not work, change it or the script will break. (Just use a seperate timer for each)

 Respond  
SyntaxIRC   -  Jan 09, 2007

What\'s the point of this? It just shortens it by 2 characters. Aside from that, why are you using variables to store the name and password? You can just use the identifiers instead of the variables.

Sorry, I see no use of this.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.