diff --git a/plugins/kill.py b/plugins/kill.py deleted file mode 100755 index 33beea0..0000000 --- a/plugins/kill.py +++ /dev/null @@ -1,51 +0,0 @@ -from util import hook -import re -import random - -kills = ["rips off 's and leaves them to die.", - "grabs 's head and rips it clean off their body.", - "grabs a machine gun and riddles 's body with bullets.", - "sends The Terminator on a mission to retrieve 's .", - "gags and ties then throws them off a bridge.", - "crushes with a huge spiked boulder.", - "glares at until they die of boredom.", - "stuffs a few TNT blocks under 's bed, and sets them off.", - "shivs in the .", - "rams a rocket launcher up 's ass and lets off a few rounds.", - "crushes 's skull in with a spiked mace.", - "unleashes the armies of Isengard on .", - "packs into a SVN repo.", - "slices 's off with a Katana", - "throws to Cthulu!", - "feeds to an owlbear.", - "turns into a snail, and then salts them.", - "snacks on 's .", - "puts into a sack, throws the sack in the river, and hurls the river into space.", - "goes bowling with 's head.", - "uses 's as a back-scratcher.", - "sends to /dev/null!", - "feeds coke and mentos till they pop!"] - -body = ['head', - 'arms', - 'leg', - 'arm', - '"special parts"'] - -@hook.command -def kill(inp, me=None, nick=None, input=None, notice=None): - ".kill -- Makes the bot kill ." - inp = inp.strip() - - if not re.match("^[A-Za-z0-9_|.-\]\[]*$", inp.lower()): - notice("Invalid username!") - return - - if inp == input.conn.nick.lower() or inp == "itself": - target = inp - else: - target = nick - msg = random.choice(kills) - msg = re.sub ('', target, target) - msg = re.sub ('', random.choice(body), target) - me(msg) diff --git a/plugins/slap.py b/plugins/slap.py deleted file mode 100755 index 8fffd45..0000000 --- a/plugins/slap.py +++ /dev/null @@ -1,52 +0,0 @@ -from util import hook -import re -import random - -slaps = ["slaps with a .", - "slaps around a bit with a .", - "throws a at .", - "chucks a few s at .", - "grabs a and throws it in 's face.", - "launches a in 's general direction.", - "sits on 's face, while slamming a into their crotch.", - "holds down and repeatedly whacks them with a .", - "prods with a flaming .", - "picks up a , and whacks with it.", - "ties to a chair and throws a at them.", - "hits on the head with a ."] - -items = ["cast iron skillet", - "large trout", - "baseball bat", - "wooden cane", - "CRT monitor", - "diamond sword", - "physics textbook", - "television", - "mau5head", - "five ton truck", - "roll of duct tape", - "book", - "cobblestone block", - "lava bucket", - "rubber chicken", - "gold block", - "fire extinguisher", - "heavy rock", - "chunk of dirt"] - -@hook.command -def slap(inp, me=None, nick=None, input=None, notice=None): - ".slap -- Makes the bot slap ." - inp = inp.strip() - - if not re.match("^[A-Za-z0-9_|.-\]\[]*$", inp.lower()): - notice("Invalid username!") - return - - if inp == input.conn.nick.lower() or inp == "itself": - target = re.sub ('', nick, random.choice(slaps)) - else: - target = re.sub ('', inp, random.choice(slaps)) - msg = re.sub ('', random.choice(items), target) - me(msg) diff --git a/plugins/lart.py b/plugins/violence.py old mode 100755 new mode 100644 similarity index 63% rename from plugins/lart.py rename to plugins/violence.py index 5fa8388..3701a28 --- a/plugins/lart.py +++ b/plugins/violence.py @@ -2,6 +2,40 @@ from util import hook import re import random + +slaps = ["slaps with a .", + "slaps around a bit with a .", + "throws a at .", + "chucks a few s at .", + "grabs a and throws it in 's face.", + "launches a in 's general direction.", + "sits on 's face, while slamming a into their crotch.", + "holds down and repeatedly whacks them with a .", + "prods with a flaming .", + "picks up a , and whacks with it.", + "ties to a chair and throws a at them.", + "hits on the head with a ."] + +items = ["cast iron skillet", + "large trout", + "baseball bat", + "wooden cane", + "CRT monitor", + "diamond sword", + "physics textbook", + "television", + "mau5head", + "five ton truck", + "roll of duct tape", + "book", + "cobblestone block", + "lava bucket", + "rubber chicken", + "gold block", + "fire extinguisher", + "heavy rock", + "chunk of dirt"] + larts = ["swaps 's shampoo with glue.", "installs Windows on 's computer.", "forces to use perl for 3 weeks.", @@ -109,8 +143,57 @@ larts = ["swaps 's shampoo with glue.", "assigns all of the permissions tickets on the BeastNode support system to .", "hands a poison ivy joint."] +kills = ["rips off 's and leaves them to die.", + "grabs 's head and rips it clean off their body.", + "grabs a machine gun and riddles 's body with bullets.", + "sends The Terminator on a mission to retrieve 's .", + "gags and ties then throws them off a bridge.", + "crushes with a huge spiked boulder.", + "glares at until they die of boredom.", + "stuffs a few TNT blocks under 's bed, and sets them off.", + "shivs in the .", + "rams a rocket launcher up 's ass and lets off a few rounds.", + "crushes 's skull in with a spiked mace.", + "unleashes the armies of Isengard on .", + "packs into a SVN repo.", + "slices 's off with a Katana", + "throws to Cthulu!", + "feeds to an owlbear.", + "turns into a snail, and then salts them.", + "snacks on 's .", + "puts into a sack, throws the sack in the river, and hurls the river into space.", + "goes bowling with 's head.", + "uses 's as a back-scratcher.", + "sends to /dev/null!", + "feeds coke and mentos till they pop!"] + +body = ['head', + 'arms', + 'leg', + 'arm', + '"special parts"'] + + @hook.command -def lart(inp, me=None, nick=None, input=None, notice=None): +def slap(inp, me=None, nick=None, input=None, notice=None): + ".slap -- Makes the bot slap ." + inp = inp.strip() + + if not re.match("^[A-Za-z0-9_|.-\]\[]*$", inp.lower()): + notice("Invalid username!") + return + + if inp == input.conn.nick.lower() or inp == "itself": + target = re.sub ('', nick, random.choice(slaps)) + else: + target = re.sub ('', inp, random.choice(slaps)) + msg = re.sub ('', random.choice(items), target) + me(msg) + + + +@hook.command +def lart(inp, me=None, nick=None, input=None, notice=None): ".lart -- Makes the bot LART ." inp = inp.strip() @@ -124,3 +207,23 @@ def lart(inp, me=None, nick=None, input=None, notice=None): target = inp msg = re.sub ('', target, random.choice(larts)) me(msg) + + + +@hook.command +def kill(inp, me=None, nick=None, input=None, notice=None): + ".kill -- Makes the bot kill ." + inp = inp.strip() + + if not re.match("^[A-Za-z0-9_|.-\]\[]*$", inp.lower()): + notice("Invalid username!") + return + + if inp == input.conn.nick.lower() or inp == "itself": + target = inp + else: + target = nick + msg = random.choice(kills) + msg = re.sub ('', target, target) + msg = re.sub ('', random.choice(body), target) + me(msg)