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 }
}
I have one just like this. (http://www.hawkee.com/snippet/5427/)
Yours is pretty cool too! I gave it a try earlier today.