Whois Noticer for IRCops

By Soubi on Jul 09, 2010

This is a snippet for IRCops, when someone whois'es you, it alerts you in the channel that your on in an echo with the users name and vhost, it notices the user that whois'ed you, and it also tells the user how many times you were whois'ed..just for fun.

You may edit the colors if you want, i just picked then 'cause they caught my eye :P. But anywho, enjoy this snippet, and feel free to comment.

Oh, and yes, i used >>> http://www.hawkee.com/snippet/6361/ <<<< that snippet..and just..spiced it up :P.

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;@@@*Soubi's IRCop Whois Noticer*@@@
;@@@@@@@@@@@@*Updated*@@@@@@@@@@@@@@
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

#whoisnotice on
on *:SNOTICE:*whois on you*: {
  if (!%x) { set -u10 %x on

    echo -a 4[ALERT] 15 $2 ( $address($2,2) ) did a whois on you on server 4[ $server ] 15at 4[  $time(.:h:nn:sstt:.) 15, 4 $date ] 15.
    inc %now
    NOTICE $2  11W12hois successful4,12but the user has been noticed of you stalking them4.[11I12m watching you $2 4]
  }
}
#whoisnotice end
Menu channel,status {
  Whois Watcher
  .Whois Count: echo -a 9********11,1I 15,1have been whois'd 8,1[ %now ] 15,1times12,1.9*********
  .Enable Whois Noticer: /enable #whoisnotice
  .Disable Whois Noticer: /disable #whoisnotice
}

Comments

Sign in to comment.
SnoooP   -  Jul 21, 2010

Awesome, happy to help :)

 Respond  
Soubi   -  Jul 21, 2010

Thanks SnoooP, and i also added a on and off swith just incase they dont want it on.. ^.^ and im very new at this, so i also thank you for helping me. I also made the echo say the server, and the time and date... :/ i got bored and just decided to add it xD

 Respond  
Jethro   -  Jul 21, 2010

You can be inventive and make something different from what others had made before.

 Respond  
SnoooP   -  Jul 21, 2010

Knight I made this script too, I even uploaded it a year or two ago, but I bet someone made it 10 years ago too, if not even longer ago than that!

 Respond  
Aucun50   -  Jul 20, 2010

It's a very simple script Kinight, everyone has there own way of making it.

 Respond  
Kinight   -  Jul 20, 2010

Uhm, lol I made this script.... Or I made it extremely close. Lol

 Respond  
SnoooP   -  Jul 20, 2010

Ohh, now I understand sorry :P

 Respond  
Jethro   -  Jul 20, 2010

SnoooP, that message's applied to the notice of which I'd use if got whois'd. :p

 Respond  
SnoooP   -  Jul 20, 2010

my curiosity? and maybe Jethro, it was just a quick example

 Respond  
Jethro   -  Jul 20, 2010

I'd reply this: your curiosity has never ceased to amaze me...

SnoooP, you could use inc -u10 %x. I prefer it over the set, and it's shorter.

 Respond  
SnoooP   -  Jul 19, 2010

Hmm, sorry but if someone had the nickname whois, or if whois was in their ident/realname this would trigger. :x

(15:31:33) -irc.*.net- *** CONNECT: Client connecting on port 6667: whois123!swhois@randommadeuphost.lie [1.2.3.4] [I am whoising you!]

Maybe do:

on *:SNOTICE:*whois on you*: {

also consider adding sometype of flood protection because it would be annoying if someone whois flooded you and you get that message echod to you each time :x

so maybe do

on *:SNOTICE:*whois on you*: {
  if (!%x) { set -u10 %x on 
  echo -a [ALERT] $2 ( $address($2,2) ) did a whois on you! 
  inc %now
  NOTICE $2 11,1Y15es 11,1 $2 $+ , 11,1I6,1'15,1m an 11,1IRC15,1op6,1. 11,1I15,1s there something 11,1I 15,1can help you with6,1? 11,1A15,1nd you just took my whois count up to 11 %now 6,1, 15,1maybe i am popular after all6,1!
 }
}

Another thing, alot of people will tell you that when somebody whois's you they don't want to actually speak to you, so when they do whois you and get that message, you might piss them off.

 Respond  
napa182   -  Jul 09, 2010

@Jethro_ sure ya did =P jk

anyways
@Soubi you should really add some flood pros to this...

 Respond  
Jethro   -  Jul 09, 2010

lol I did that on purpose as a mock-up of demonstration.

 Respond  
Aucun50   -  Jul 09, 2010

Jethro_ your code is missing an end bracket :)

 Respond  
Jethro   -  Jul 09, 2010

Teen, useless or not, every snippet is created for a purpose. Some people might find it useful for their own use. Keep your comment constructive instead of dropping a line saying, "This is useless." Explain the reason why you think it's useless to you, in a courteous manner, that is.

 Respond  
_Teen_   -  Jul 09, 2010

Soubi:
maybe to you, ^_^, you must have the mode +W set on you..adur..hence..you must be a ircop

K33D4Y:
Lol Teen doesnt get it.

LOL, im not that kinda of Noob dude... im Network admin in Chatbrasil network... and i know about IRCops modes... and this script is useless...

 Respond  
Jethro   -  Jul 09, 2010

You can do this with regex:

on $*:snotice:/\52{3} (.+) \50.+\51 (.+)/: {
  inc %now 
  echo -a [ALERT] $regml(1) ( $address($regml(1),2) ) $regml(2)

But you have to be aware that not every network has the same server notice message for whois. They're somewhat different. So this code may need to be modified accordingly.

 Respond  
K33D4Y   -  Jul 09, 2010

Lol Teen doesnt get it.

 Respond  
Soubi   -  Jul 09, 2010

maybe to you, ^_^, you must have the mode +W set on you..adur..hence..you must be a ircop

 Respond  
_Teen_   -  Jul 09, 2010

This is useless ._.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.