Kick Sparky for saying '0'

By miniCruzer on Jul 24, 2010

This is a script that kicks this annoying kid nicked 'Sparky' for saying 0. He harasses and annoys networks for saying it, and gets himself glined and +b'd for it. No one thinks its funny, so we decided to start a program called "N0" (N, Zero), to discourage this obnoxious behavior. It started more of a joke. The script itself may seem useless, but improvement is appreciated :D

N0: Ops get 1 point for kicking Sparky each time he says '0'. After 16 points, ops are moved up on the access list.

Change Log

July 24, 2010: Checks if $me is opped on the channel.
Adds Regular Expression in searching for '0'.

July 25, 2010: Corrected Regex matching '0' (removed unnecessary tags 'g' and 'i'. Simplified checking if user is opped. Thank you @Jethro_

July 26, 2010: Added regex matching variations of "Sparky" to kick. Thank you @Jethro_

on @$*:text:/^0$/S:#:{
  if ($regex($nick,/^([-]?sp(a|\[a\])rky(-?|_?|0?|\[iPod\]?)$)/i))  {
    if (%score == 16) {
      .onotice # I've kicked Sparky $v1 times for saying '0'
      unset %score
    }
    else {
      inc %score
      kick # $nick +1 for $me $+ ! My score: %score
    }
  }
}

Comments

Sign in to comment.
miniCruzer   -  Sep 28, 2010

:D

 Respond  
SnoooP   -  Aug 10, 2010

Minicruzer you lying nob, although the vuvuzela module is hilarious.

 Respond  
TophBeiFong   -  Aug 01, 2010

lmfao what is 0 lol

 Respond  
miniCruzer   -  Jul 31, 2010

LOL. HE'S BROKEN. Speaking of which, I need a new avatar.

 Respond  
Jethro   -  Jul 31, 2010

miniCruzer, have you seen the cartoon episode from SpongeBob SquarePants called "I'm with stupid?" lol

 Respond  
miniCruzer   -  Jul 31, 2010

@Jethro_ SnoooP is being an idiot (<3 Bertrum), and trying to make me look bad. In reality, he told me to send IRC Drones to Sparky's little network and screw around with the Vuvuzela module.

 Respond  
SnoooP   -  Jul 26, 2010

True Jethro :P

 Respond  
Jethro   -  Jul 26, 2010

So was miniCruzer a PITA? I guess the old saying never lies, "what goes around, comes around." lol

 Respond  
Jonesy44   -  Jul 26, 2010

Yay. go Sparky.

 Respond  
SnoooP   -  Jul 26, 2010

He is like a young miniCruzer

 Respond  
miniCruzer   -  Jul 26, 2010

Once again, many thanks. This guy has been trying to bot net a few networks I manage. Real cool, I know.

 Respond  
Jethro   -  Jul 25, 2010

Change > if ($nick == sparky) {
to:

if ($regex($nick,/^([-]?sp(a|\[a\])rky(-?|_?|0?|\[iPod\]?)$)/i)) {

The regex will match all of the nicknames you've listed, miniCruzer.

 Respond  
Meta   -  Jul 25, 2010

if (sparky* iswm $nick) should be enough, but it might cause problems if another user happens to have those letters in that order anywhere in their nick...

 Respond  
miniCruzer   -  Jul 25, 2010

Thanks! Another question: The little bugger likes to change his nick a lot, to variations of Sparky. Some I've seen: -Sparky, Sparky-, Sparky_, Sparky[iPod], Sp[a]rky, Sparky0. Any regular expressions to solve that?

 Respond  
Jethro   -  Jul 25, 2010

Meta, I forgot to get the variable %score unset when the count reaches 16. Code edited.

 Respond  
Meta   -  Jul 25, 2010

Jethro_ -- Not sure if it was intentional or not, but your script will stop kicking and increasing %score after %score reaches 16.

 Respond  
Jethro   -  Jul 24, 2010

miniCruzer, you don't need the /i, /g modifier (there is no uppercase or lowercase for a number anyway...the /g modifier is to match a string multiple times. The way you have it only requires one...and you have the regex matched mainly for the number zero as is, hence the caret and dollar sign used), and the $me isop # can be substituted by a @ prefix:

on @$*:text:/^0$/S:#:{
  if ($nick == sparky) {
    if (%score == 16) {
      .onotice # I've kicked Sparky $v1 times for saying '0'
      unset %score
    }
    else {
      inc %score
      kick # $nick +1 for $me $+ ! My score: %score
    }
  }
}
 Respond  
SnoooP   -  Jul 24, 2010

Although it is pointless, Sparky has to be the most infuriating irc'er I have ever met.

 Respond  
pokeybit   -  Jul 24, 2010

wow I have been looking for this exact script for ages... not

 Respond  
miniCruzer   -  Jul 24, 2010

I assure you there are more pointless scripts than this one. I consider your comment "pointless crap."

 Respond  
knoeki   -  Jul 24, 2010

Do you really need to post pointless crap like this?

 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.