Advertisement
rey444xd3

Untitled

Mar 7th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.71 KB | None | 0 0
  1. '''
  2. Found on: 2011.12.13
  3. Last update: nil
  4. Author: Unknown
  5. Modified by: Kulverstukas
  6. Shouts: Evilzone.org
  7. Contact: kulverwars@evilzone.org
  8. ----
  9. To use it on Linux, put it into ~/.xchat2 and it will load every time you start xchat
  10. or you can do it manualy with: /py load slapper.py
  11. ----
  12. To use it on Windows, install Python 2.5
  13. and put it into "X:/Documents and Settings/USERNAME/Application Data/X-Chat 2/"
  14. or you can do it manualy with: /py load slapper.py
  15.  
  16. Update notes:
  17. 2011.12.13:
  18. * Added one more slap line
  19. * Fixed the slap() method to catch exceptions
  20. *
  21. '''
  22. '''
  23. \003
  24. 0 white
  25. 1 black
  26. 2 blue
  27. 3 green
  28. 4 red
  29. 5 dark gred
  30. 6 purple
  31. 7 dark yellow
  32. 8 yellow
  33. 9 bright green
  34. 10 dark green
  35. 11 green
  36. 12 blue
  37. 13 bright purple
  38. 14 dark grey
  39. 15 light grey
  40.  
  41. \017 reset all
  42. \002 bold
  43. \026 reverse text
  44. \007 beep
  45. \037 underline
  46. '''
  47. #======================================
  48. __module_name__ = "Slapper"
  49. __module_version__ = "1.2"
  50. __module_description__ = "Module to implement a /slap command -- /slap for more info"
  51. #======================================
  52. import xchat
  53. from random import randint
  54. #======================================
  55. slaps = ['throws a keyboard at %s',
  56. 'beautifies %s with some knuckle duster imprints',
  57. 'sends hordes of lemmings over %s',
  58. 'slaps %s around with a pink Macintosh',
  59. 'slaps %s around with nuclear waste',
  60. 'throws a playstation at %s',
  61. 'niest in das Gesicht von %s',
  62. 'slaps %s around a bit with a small Imperial-Class Stardestroyer',
  63. 'slaps %s about with a large Fluffy Donkey.',
  64. 'slaps %s about with a damp womble',
  65. 'punches %s in da ribs',
  66. 'grabs %s\'s hair and rips it out by the roots',
  67. 'drives %s across the head with a bus',
  68. 'kicks %s where the sun don\'t shine',
  69. 'shoves a large pencil up %s\'s nose.',
  70. 'slaps %s around a bit with a large lightbulb.',
  71. 'grabs %s\'s large buttocks and rips them off with his bare hands.',
  72. 'slaps %s across the face with a large bald rabbit',
  73. 'slaps %s up a bit',
  74. 'grabs %s by his feet and chucks him out of the window',
  75. 'slaps %s about a lot with a large snotty hankie',
  76. 'slaps %s about with a golf club',
  77. 'slaps %s about with a dead mole',
  78. 'slaps %s in the face with a damp crustacean',
  79. 'slaps %s about with %s with %s with %s with %s witttttttthhhhhhh........',
  80. 'slaps %s in the face',
  81. 'shooves a large goat up %s\'s ass',
  82. 'throws himself at %s',
  83. 'grabs %s and sits on him then slowly lets out his noxious gases',
  84. 'relieves himself over %s',
  85. 'blasts %s apart with his womble launcher',
  86. 'smacks %s in her face',
  87. 'slaps %s across the head with a hairy toothbrush',
  88. 'slaps %s about with a squashed frog',
  89. 'whacks %s in the face with a hedgehog',
  90. 'grabs %s\'s legs and breaks them',
  91. 'slaps %s about with a squashed frog',
  92. 'chucks a cream cake at %s',
  93. 'rides a rhino into %s',
  94. 'grabs the aluminum bat from the house and runs out to practice baseball with %s\'s head...whoops!...WHACK!!.. Now %s\'s pea-sized brain is all over the field! RETARDO!',
  95. 'shoves %s off the nearest cliff',
  96. 'smashes a wine bottle over %s\'s head',
  97. 'slaps %s with a lil sweet kitten --- ahhh 8D',
  98. 'grabs his chainsaw off his shelf, steps up to %s and slowly, so slowly, cuts off his thick neck, letting the blood spew from his arteries, covering $me in the warm liquid',
  99. 'picks up his watermellon and smashes it over %s\'s head',
  100. 'plays tiddlewinks with %s\'s teeth',
  101. 'rips out %s\'s eyeballs and eats them --- mmmmmmm',
  102. 'grabs his ice hockey stick and deftly slices off %s\'s legs',
  103. 'pushes %s into a large food blender',
  104. 'shoves a hamster into %s\'s mouth and slams his jaws together !',
  105. 'rides a monster truck over %s',
  106. 'wedgies %s !!!!! OUCH !!!',
  107. 'locks %s in a freezer and swallows the key :)',
  108. 'thoughs a fake left punch at %s , while at the same time, pulling out his samari sword and, swinging it through the air, slices off %s\'s ears',
  109. 'drops an elephant onto %s',
  110. 'chucks %s into a pit full of crocodiles',
  111. 'rips open %s\'s gut and pulls out his intestines',
  112. 'is ignoring %s',
  113. 'farts in %s\'s face',
  114. 'pours man eating antz over %s',
  115. 'picks %s up and chucks him in a bath of boiling hot oil',
  116. 'gives %s a lobotomy',
  117. 'slices %s\'s scalp off and starts chewing on his brain',
  118. 'slaps %s about a bit with a small tadpole',
  119. 'slaps %s around with a large whale',
  120. 'throws %s into a volcano',
  121. 'blasts %s apart with his Enhanced Shock Rifle',
  122. 'blows %s apart with his "phat" cow launcher',
  123. 'chucks cowpats at %s',
  124. 'showers %s with sparkling jellyfish',
  125. 'blows %s away with his bad breath',
  126. 'takes one look at %s and is sick all over the floor',
  127. 'slaps %s about a bit with a mouldy sandwich',
  128. 'throws a box of feathers at %s',
  129. 'slaps %s about with his knuckle dusters',
  130. 'whacks %s in the face with an anaconda',
  131. 'shoves %s up a tree',
  132. 'gives %s a box of chocolates',
  133. 'cuts %s into little pieces, puts his bits in envelopes and posts them to antartica',
  134. 'grabs %s and shooves him in a wheely bin',
  135. 'grabs %s\'s head and rips it off. Then with all his will power, summons the belch monster within, and spews his dinner down %s\'s neck',
  136. 'slaps %s with a reeally FAT CAT - meeeoooowwwww !!!',
  137. 'purrs at %s ;)',
  138. 'chucks a concrete cricket ball at %s\'s head',
  139. 'hurls a hurlbat at %s',
  140. 'laughs at the way %s snorts when he laughs',
  141. 'slaps %s silly with a snotty tissue',
  142. 'blows %s apart with his marble launcher',
  143. 'kicks %s in the balls --- ooo thats GOTTA HURT !!!',
  144. 'gives %s a lump of C4',
  145. 'fires 50 pence pieces at %s',
  146. 'fires %s at the Sun',
  147. 'gives %s a lift to pyscholand',
  148. 'locks %s in a mental institute',
  149. 'runs away from %s\'s hairy arse',
  150. 'hits %s on the head with a large toilet',
  151. 'slaps %s silly with a urinal',
  152. 'slaps %s about a bit with some baguettes',
  153. 'uses %s s a wicket',
  154. 'sues %s for being so ugly',
  155. 'waxes %s\'s legs',
  156. 'waxes %s\'s groin',
  157. 'chucks several obese Americans on %s',
  158. 'SCREAMS LOUDLY AT %s',
  159. 'humps %s',
  160. 'slaps %s about a lot with his little pink handbag',
  161. 'Laughs Out Loud at %s\'s orange and pink hair',
  162. 'slaps %s about a bit with a lump of mercury',
  163. 'grinds down %s\'s fingers down to stubs with a meat grinder',
  164. 'covers %s in sheep skin and sets his wolf after him',
  165. 'pushes %s infront of a thousand stampeding buffalo',
  166. 'lobs a hand grenade at %s and ducks',
  167. 'cuts %s up and feeds him to a penguin',
  168. 'puts some screws through %s\'s eyeballs',
  169. 'sniggers at %s',
  170. 'chuckles at %s\'s fat ass',
  171. 'gives %s a hate bite',
  172. 'pulls out %s\'s teeth with a knife and fork',
  173. 'eats %s\'s ears for dinner',
  174. 'plays football with %s\'s large head',
  175. 'breaks both of %s\'s kneecaps, then puts a box of chocolates out of his reach :)',
  176. 'throws %s into Hell - "Naughty Girl !"',
  177. 'gives %s a @3-->---',
  178. 'breaks %s in half',
  179. 'rips out %s\'s heart',
  180. 'glares evilly at %s',
  181. 'punches %s so hard it punctures his chest and goes through the other side !!',
  182. 'pokes %s up the nose with a pair of chopsticks !!',
  183. 'n00bifies %s',
  184. 'slaps %s about with a fat Leprechaun',
  185. 'drowns %s in a cup of water!',
  186. 'slaps %s about with a giant boob!',
  187. 'telefrags %s',
  188. 'throws a bookcase at %s',
  189. 'slaps %s in the face with a large tree',
  190. 'brands "n00b" on %s\'s forehead',
  191. 'kicks %s in the face',
  192. 'flicks ear wax at %s',
  193. 'sticks %s\'s fingers in a plug socket',
  194. 'tips puts %s\'s feet in cement and throws him into the sea',
  195. 'laughs at %s\'s high heels',
  196. 'flicks cds at %s and accidently slices off %s\'s fingers',
  197. 'bites off %s\'s ear',
  198. 'slices %s\'s throat with a woodpecker',
  199. 'chucks aftershave in %s\'s eyes',
  200. 'shaves off %s\'s eyebrows while %s is asleep',
  201. 'whups %s\'s ass at UT',
  202. 'blows up %s\'s pet dog',
  203. 'sets a rabid dog upon %s',
  204. 'sends %s\'s photo to the police as a "Wanted" person',
  205. 'chucks %s in a bath of scorpions',
  206. 'laughs like a cheap whore... and starts to ponder his sexuality !!',
  207. 'smiles at %s .. thinking - bet your glad i\'m not feeling trigger happy today %s :)',
  208. 'slaps %s around a bit with a small trout',
  209. 'feeds %s to the sharks',
  210. 'throws %s off a bridge',
  211. 'grabs %s, ties him down, and waxes his ARSE !!! OUCH !!!',
  212. 'puts a plastic bag over %s\'s head and smiles wickedly as %s gasps for air',
  213. 'slaps %s about with his monitor',
  214. 'tapes %s to a skateboard and pushes him down a hill towards an oncoming bus',
  215. 'flushes %s down a toilet',
  216. 'grabs %s\'s hands and slaps them down on a red hot cooker',
  217. 'pushes %s into a microwave and hits the cook button !',
  218. 'stuffs his face full of chocolate',
  219. 'shoves a hairdrier up %s\'s nose and turns it up to "nose melter" setting',
  220. 'chases after %s with a weed whacker....hey you need a haircut!',
  221. 'kicks %s off his feet onto his knees; KNEEL BEFORE YOUR MASTER !!',
  222. 'gets out his brand new bat and knocks %s around a lot',
  223. 'pulls out his bubble gum, chews on it a bit, ponders over the meaning of %s, then walks away.........',
  224. 'slaps %s with a lil fishy wishy',
  225. 'steals %s\'s cookies. muhahahahaha!',
  226. 'falls off his chair from laughter and spills coffee all over the fookin keyboard !!',
  227. 'slaps %s about with a large lampost',
  228. 'grabs a handful of cockroaches and shoves them down %s\'s pants',
  229. 'pushes %s into a bath full of maggots',
  230. 'slaps %s about with an old smelly sock',
  231. 'slaps %s about with a toupee',
  232. 'chucks %s into a large cement mixer with a camel',
  233. 'slaps %s about with his pet camel',
  234. 'slaps %s about a bit with an orchestra',
  235. 'opens %s\'s gob and chucks a hand grenade down his throat and ducks',
  236. 'slaps %s about with windows XP',
  237. 'slaps %s about with windows 98',
  238. 'slaps %s about with windows 95',
  239. 'slaps %s about with linux',
  240. 'breaks %s\'s elbow',
  241. 'slaps %s about with a fat gay telletubbie',
  242. 'pokes %s in the belly button',
  243. 'slaps %s about a lot with a fat mongoose',
  244. 'strips %s naked and then throws pins at him',
  245. 'slaps %s about some with a skinny mongoose',
  246. 'pulls out %s\'s armpit hair !!',
  247. 'blasts %s apart with a fat spud gun !!!',
  248. 'throws %s into a pit of fat belly dancers',
  249. 'breaks %s\'s nose with a green spondge lampost',
  250. 'kicks his fat rabbit at %s',
  251. 'rips out his hair in his frustration at %s !!',
  252. 'puts %s in an oven',
  253. 'pulls out %s\'s lungs through his throat !',
  254. 'wonders why %s has such a fat arse',
  255. 'slaps %s about with a trout, yes thats right, a fucking TROUT !! u got a fucking problem with my trout ? hey ? WELL !! HAVE U !!! TOUGH !!!!!!!!!!!!!!',
  256. 'feeds %s to a hungry pack of dolphins',
  257. 'suffocates %s with a large condom',
  258. 'blasts %s apart with his mobile phone radiation emitter',
  259. 'throws %s infront of an oncoming train',
  260. 'gives %s skydiving lessons without a parachute',
  261. 'locks %s in a suntaning bed',
  262. 'cuts open %s\'s chest then pours salt all over it',
  263. 'feeds %s to the ants',
  264. 'drowns %s in his own vomit',
  265. 'slaps %s silly with an abominable snowman',
  266. 'slaps %s about a bit with a fat elephant',
  267. 'chucks pins at %s',
  268. 'gives %s acupuncture with some large tent pegs',
  269. 'gives %s a whole lot of new orafices by practising his knife throwing skills with %s',
  270. 'drops a ton of bricks on %s\'s head',
  271. 'puts %s into a Spanish bull ring',
  272. 'pulls out %s\'s tongue ring violently',
  273. 'engraves his name on %s\'s eyeballs',
  274. 'slaps %s about a bit with an old granny',
  275. 'slaps %s about a lot with 2 small eskimos',
  276. 'slaps %s silly with the Titanic',
  277. 'gets down on one knee and asks: "Will you marry me %s?"',
  278. 'hands %s some spikey dildos',
  279. 'assaults %s with a pepper',
  280. 'assaults %s with a dildo',
  281. 'assaults %s with a cabbage',
  282. 'assaults %s with a whistle',
  283. 'puts %s in a jar full of bees',
  284. 'performs the round-house kick to %s\'s face']
  285. #======================================
  286. def slap(word, word_eol, userdata):
  287. try:
  288. if (len(word) < 2):
  289. xchat.prnt('\n\002Usage\017: /slap \037<nickname>\017 \037<number>\017\n'+
  290. ' \037<number>\017 is optional, but if given, a slap by that index\n'+
  291. ' will be used. So if you would put 1, then the first slap\n'+
  292. ' in the list would be used.\n'+
  293. ' Currently there are \002'+str(len(slaps))+'\017 slaps in the list.\n')
  294. elif (len(word) >= 3):
  295. if ((int(word[2]) > len(slaps)) or (int(word[2]) < 1)):
  296. xchat.prnt('\002[-]\017 \0034Cannot send. Number is bigger or smaller than there are lines in the list')
  297. else:
  298. xchat.command('me ' + slaps[int(word[2])-1] % word[1])
  299. else:
  300. xchat.command('me ' + slaps[randint(0, len(slaps)-1)] % word[1])
  301. except:
  302. xchat.prnt('\002[-]\017 \0034Something went wrong. Try again.')
  303. # do not do anything
  304. # simply because xChat events sometimes may not fire
  305. # so word[1] (nick of the victom) will be nil and
  306. # and this throws and exception because you cannot
  307. # put "nil" into a string
  308. return xchat.EAT_ALL
  309. #======================================
  310. def onUnload(userdata):
  311. xchat.prnt('\002[+]\017 \00312Slapper v%s has been unloaded' % __module_version__)
  312. #======================================
  313. xchat.hook_command("slap", slap)
  314. xchat.prnt('\002[+]\017 \00312Slapper v%s has been loaded - /slap for more info' % __module_version__)
  315. xchat.hook_unload(onUnload)
  316. #======================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement