can someone help me out, i got this on *:SNOTICE:*did a /whois on you.*:{ if ( %whois.number == $null ) { set %whois.number 1 } .notice $nick 14%%% 15 You are the 9 %whois.number th 15 person to /whois me. 14%%% inc %whois.number }
and what i want it to do is /notice a person if they /whois me with You are the __th person to /whois me. i cant figure this out, also, someone told me before but i lost where it was, how do you silence server notices?
thx for the help, btw, it was $2, here is the script if anyone else wants to use it:
on ^*:SNOTICE:*did a /whois on you.*:{ if ( %whois.number == $null ) { set %whois.number 1 } .notice $2 14%%% 15 You are the 9 %whois.number th 15 person to /whois me. 14%%% | haltdef inc %whois.number }
k, thx for the improvements, also, how could i get it so if someone does a /whois on my 2 or more times every 5 mins, it /kill's them?, but if they do it once a minute, to just gives them that notice?
i'm just very curious, and would like to know when someone is wondering something about me(which is why most people would do a /whois on someone, cause they want/need something, and are checking their idle time)
If some oper on a network killed me for doing a /whois on him, then i would leav that network faster then u can say /kill .. thats somthing i call power abuse, and if you want users on your server/network, then i should be carefull with how i act to my users.. remember a server/network needs the users, without the users you dont need the server at all.. just somthing i got to think about when i saw this post..
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
I guess what I'm getting at is that you don't need to know that they are /whois'ing you. /whois is harmless .. and in very worse case the user will flood himself off the server.
--
katsklaw Rather experienced Admin Rather experienced mIRC Scripter Amateur C Coder