When somebody whois's you it will open a window called @whois and then echo who whois'd you & at what time & date...
Obviously you need to be an ircop on a server for this to work, or have the appropriate modes set
if you right click and select 'Whois Counter' it will tell you how many times you have been whois'd
#whoiswatch on
on *:SNOTICE:*whois on you*: {
if (!%x) { set -u10 %x on
window @Watcher
echo @Watcher 10[15Whois Watcher10]15-=-10[15 $+ $2 $+ 10]15 @ 10[15 $+ $3 $+ 10]15 Whois'd you at 10[15 $+ $time $+ 10]15 on 10[15 $+ $date $+ 10]15 on server 10[15 $+ $server $+ 10]
/inc %whoiscount 1
return $tip(Whois, Whois'd By, $2 $3,,,,whoisreply)
}
}
#whoiswatch end
Menu channel,status {
-
Whois Watcher
.Whois Counter: echo -a [Counter] I have been whois'd [ %whoiscount ] times.
.Enable Whois Watcher:/enable #whoiswatch
.Disable Whois Watcher:/disable #whoiswatch
-
}
divider you need to be an ircop or you need to be able to set mode +W on yourself, although most servers don't allow you to set +W on yourself but you can try by going onto your chosen server and doing "//mode $me +W" in your status window, if it works, then you can see who whoises you, if it doesn't work, the script wont work.