Auto-Ghost

By ExoticCars on Sep 19, 2010

This simple script will ghost the person that changes his nick to your nick immediately, it will also ghost him if he parts a channel you're on or join a channel you're on.
It only works with NickServ, and if you own the nick you want ghosted.
Enjoy :)

on *:NICK: { 
  if ($newnick == <the nick you want ghosted> && $nick != $me) { 
    ns ghost $newnick <your nickserv password> 
  } 
}
on *:JOIN:#: { 
  if ($nick == <the nick you want ghosted> && $nick != $me) { 
    ns ghost $nick <your nickserv password> 
  } 
}
on *:PART:#: { 
  if ($nick == <the nick you want ghosted> && $nick != $me) { 
    ns ghost $nick <your nickserv password> 
  } 
}

Comments

Sign in to comment.
Jeroenz0r   -  Oct 02, 2010

Handy script!

Guys keep in mind that the function 'ns' does not come default enabled.
If you have problems with it change it to NickServ or '.msg NickServ'

 Respond  
Jethro   -  Sep 19, 2010

You can use an alias and the $event identifier to shorten the size of the script for about 17 bytes:

on *:nick:ghost
on *:join:#:ghost
on *:part:#:ghost
alias -l ghost {
  if ($istok(join part,$event,32)) && ($nick == <the nick you want ghosted>) && ($nick != $me) {
    ns ghost $nick <your nickserv password>
  }
  elseif ($event == nick) && ($newnick == <the nick you want ghosted> && $nick != $me) {
    ns ghost $newnick <your nickserv password>
  }
}
 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.