The most powerful command available to normal users is /ns ghost and the most powerful
tool is notify. ns ghost allows you to kill anyone using your nickname. Notify, allows you to monitor a list of nicknames and the server will notify you the instant they log on to the network. When you put these together, You can control who uses your nickname when you are online. In addition, this also will protect you from session limit bans on networks with strict session limits. When you disconnect and reconnect quickly, if the server has yet to dismiss your original connection, this scipt will remove it the instant you reconnect and receive your notify list.
*Note* This is a snipit and not a script, so you have to set it up a little.
The basics of setting it up are as follows:
1)Add your nicknames to notify /abook -n . Be network specific.
2)Edit the regex statement to replace nick1 etc. with your nicknames. See the script notes.
3)Set your password variable for each network, by right clicking in the status of each network.
For further instructions, see the ;;Comments in the code.
*Register of group your nick /ns register password email or /ns group nickname password
;Try this snipit to keep people from using your nicknames
;The first step is to add the nicknames to notify in the addressbook. Type /abook -n to open it.
;You need a separate entry for each nickname and for best results you should put the network name in the second box.
;//echo -a $network will tell you what to put there. If you leave this blank this snipit will work just fine, but
;it will try to protect on every network you are on. If you put an invalid value in the second box this will not work.
;Don't forget you have to register the nickname with chanserv to use the ghost command!
;/ns register password email. or use /ns group nickname password. This snipit assumes that You only have one password
;for all the nicknames on each client per network. If for some reason, you have different passwords for different nicks on the
;same client/network, This will only work for one of them. This snipit will handle ONE password for each network.
;Next edit this line -->> if ($regex($nick,nick1|nick2|nick3)) { and change nick1 etc to your nicknames.
;Example: if ($regex($nick,Ford|yoda|Ford_Lawnmower|Lawnmower)) { To add more, just separate each with a pipe |
;And On the pipe | note. If you have one in your nickname, you will have to use $eval(nick|name,0) to prevent an error
;Example with pipe in nickname if ($regex($nick,Yoda|$eval(yoda|sleep,0)|$eval(yoda|away,0))) {
;Last Add Your passwords for each network by right clicking on status and adding it.
ON *:Notify:{
echo -s SomeOne Tripped Notify-GhostKill Script @ $time On $date
if ($nick == $me) { halt }
;Add nicknames to the regex line below -- Divide with |
;Note -*- This doesn't work unless you add these nicknames to your notify list.
;You can access the address book with alt+b
if ($regex($nick,nick1|nick2|nick3)) {
;Set this string from the status menu Password Network , Set
ns ghost $nick $eval($eval(%My,0) $+ $network $+ Password,2)
}
}
Menu status {
.Password $network
.Set:set %My $+ $network $+ Password $?*="Enter your password?"
.Unset:unset %My $+ $network $+ Password
}
Some people will probably say that You don't need this because you can set your nick to force identify in 30 seconds or even 15 seconds. To give a real life example of how this is totally useless, here is a true story.
I had a friend on a very large network and for the sake of this story, I will call him FriendOMine. FriendOMine had a channel called #FriendOMine. Everyday when he went to bed or work, he changed his nickname to FriendOMine|Away. At this point some spammers that he had banned in several channels used notify and a custom written floodbot to change it's nick to FriendOMine, join a random channel and flood the channel with
/join #FriendOMine. The bot would part the channel and disconnect after 10 seconds and a second bot would connect, check notify for FriendOMine|Away, If he was still away, it would pause for 30 seconds and repeat the process. The first day He was glined, his nickname was banned from use and the word #FriendOMine was a kill. All of this with his nickname set to identify in 20 seconds. That's when I made this snipit and none of us have had any problems since
