auto-ghoster

By Basillisk on Feb 04, 2009

This automatically ghosts a nick that tries to use one of your own. Assuming ofcourse that the nicks are grouped/linked so they have the same password.

On the server i go on, the password should automatically change when you change it via nickserv. the syntax being /ns set password blah de blah (I'm assuming it would be the same on another server)

Its a bit of a mess, but it works, and a friend wanted it.

Chuck into a new page of remotes and right click anywhere to add/delete/change password =)

updated. friend wanted a way to be able to see the nicks easier than checking his variables, so i set an alias and put it in with the options to change the pass or add a new nick

on *:nick:{
  if ($istok(%Nicks,$newnick,32)) && ($address($newnick,2) != $address($me,2)) { ns ghost $newnick %pass }
}
alias addghnick {
  if (!$1) { halt }
  if ($istok(%nicks,$1,32)) { echo -a $1 is already on ghost list }
  else { set %nicks $addtok($1,%nicks,32) | echo -a $1 successfully added to auto-ghoster }
}
alias delghnick {
  if (!$1) { halt }
  if (!$istok(%nicks,$1,32)) { echo -a $2 isn't on the ghost list }
  else { set %nicks $remtok(%nicks,$1,32) | echo -a $1 successfully removed from auto-ghoster }
}
alias ghpass {
  if (!$1) { halt }
  else { set %pass $1 | echo -a gpass sucessfully changed to $1 }
}
on *:input:*:{
  if ($1-3 == /ns set password) {
    if (!$4) { halt }
    else { set %pass $4 | echo -a gpass successfully changed to $4 }
  }
}
on *:JOIN:#:{
  if ($istok(%Nicks,$nick,32)) && ($address($nick,2) != $address($me,2)) { ns ghost $nick %pass }
}
alias Ghnicks { echo -a $gettok(%nicks,1-,46) }
menu * {
  Auto-ghoster
  .add nick to ghost : { addghnick $?:"What nick would you like to add?" }
  .delete nick to ghost : { delghnick $?:"What nick would you like to delete?" }
  .change ghost pass : { ghpass $?:"What would you like to change your pass to?" }
  .View nicks : { Ghnicks }
}

Comments

Sign in to comment.
Firstmate   -  Feb 04, 2009

I have one just like this. (http://www.hawkee.com/snippet/5427/)

Yours is pretty cool too! I gave it a try earlier today.

 Respond  
Basillisk   -  Feb 04, 2009

its 30 on the one I'm on lol, I'd be happy with 15 seconds :P

 Respond  
napa182   -  Feb 04, 2009

quick kill is anywhere from 20 to 15 seconds depending on the server

 Respond  
Basillisk   -  Feb 04, 2009

yea, its 30 seconds long. i just wanted to D/C anyone that tried :D Getting their nick changed automatically just isnt enough for me ;p

 Respond  
napa182   -  Feb 04, 2009

if the server has anope services whynot just set
Kill Quick: /msg nickserv set kill quick
Secure: /msg nickserv set secure on
on ur nick.

 Respond  
bybib   -  Feb 04, 2009

I like this script alot easy to add/del nicks or to change the password for it.

 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.