Flawed script, very prone to failure. E.g. you whois a legitimate user for informational purposes. The IP is stored in the variable. You then run the script to akill another user and experience some server lag which means that the whois reply isn't received within 1 second. Script runs anyway and akills the last legit user that you whois'ed.
The following is significantly better...
#akillgroup off
raw 378:*: {
os akill add +3h $6 Please do not do that. This ban will be lifted in three hours.
disable #akillgroup
}
#akillgroup end
menu nicklist {
-
.Akill User: {
enable #akillgroup
whois $1
}
-
}
Also be sure it's not used in conjunction with any auto whois scripts as it's possible the wrong person will be taken out.
Phil