summaryrefslogtreecommitdiff
path: root/scripts/python/catapult.py
blob: 011cba3396281f4d996612be8da68e2e746c9087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
#   Catapult v0.2 - less ordinary abuse generator
#   Copyright (C) 2007  Pavel Shevchuk <stlwrt@gmail.com>

#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2 of the License, or
#   (at your option) any later version.

#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.

#   You should have received a copy of the GNU General Public License
#   along with this program; if not, write to the Free Software
#   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

import weechat
import random

weechat.register("Catapult", "0.2", "", "Less ordinary abuse generator.")
weechat.add_command_handler("slap", "slapper", "Creative slapper", "<target>", "", "%n")
weechat.add_command_handler("give", "giver", "Creative giver", "<target>", "", "%n")
weechat.add_command_handler("hate", "hater", "Creative hater", "<target>", "", "%n")
weechat.add_command_handler("love", "lover", "Creative lover", "<target>", "", "%n")
weechat.add_command_handler("dance", "dancer", "Creative dancer", "<target>", "", "%n")
weechat.add_command_handler("excuse", "excuser", "BOFH excuses")
weechat.add_command_handler("fortune", "fortune", "Fortune cookies!")
weechat.add_command_handler("winjoke", "winjoke", "Windoze jokes")
weechat.add_command_handler("linjoke", "linjoke", "Linux jokes")

# slapper 
def slapper(server, args):
	objects = [
		"a rather large squid",
		"a hydraulic pump",
		"a book by Stephen King",
		"a 10mbit network card",
		"a ladies handbag",
		"some girl scouts",
		"a football team",
		"a bottle",
		"a yellow marshmellow",
		"a match",
		"the queen of England",
		"a taxi",
		"100 feet of wire",
		"a bag of Cheerios",
		"a hat",
		"a fist",
		"the back hand",
		"with the forehead",
		"a computer moniter",
		"a coconut",
		"a microfone",
		"a cellphone",
		"a snowplough",
		"a doggy",
		"Bill Clinton",
		"a stone",
		"a club. With a nail in it",
		"a small asteroid, rich in iron",
		"a small interstellar spaceship",
		"a fresh zuccini",
		"a laptop",
		"a big dictionary",
		"a baseball bat",
		"NeverNet",
		"some porn",
		"a mIRC script",
		"a canoe",
		"a tortoise",
		"a horse",
		"the book of Kells",
		"a whale",
		"a rubber dildo",
		"a well groomed poodle",
		"a channel operator",
		"a news paper (New York Times Sunday Edition)",
		"a gnarly werewolf",
		"a vampire. They really suck",
		"a perl script",
		"a bag of doggie chow",
		"a fat walrus",
		"an IP adress",
		"a catholic priest",
		"James Dean",
		"Ronald MacDonald (he *IS* good for something)",
		"Autoconf version 2.13",
		"a PRIVMSG",
		"an email adress",
		"some ANSI color codes",
		"a thermonuclear weapon. Yehaw",
		"the hitch hikers guide to the galaxy, revised edition",
		"Nessie, the Loch Ness monster",
		"a tuna. Still in the can! *BONK* That will leave a mark",
		"a few fluffy pillows",
		"a red chinese dragon",
		"a linux-manual (signed by L. Torvalds)",
		"Stage1",
		"Bill Gates underpants",
		"GM Abraham and the whole OW-Staff",
		"Sphere 1.0",
		"a Linuxkernel",
		"Lenin's Collected Works",
		"Stalin's Collected Works",
		"a iron Tux",
		"a glowing 23",
		"your mum (CLEAN YOUR ROOM!)",
		"a complete GNOME-Documentation",
		"a Portagetree",
		"thand[Z]'s transparent Tanga",
		"a Kernelpanic",
		"Windoze XP",
		"an AK-47 (die, you imperialist dog!)",
		"a bag full with Michael Jacksons droped noses",
		"an NBP-Manifesto (Hail Limonew! Hail our Leader! Hail!)",
		"an NBP-Flag (Lead us to freedom, Leader Limonew!)",
		"Mein Kampf (Doppelausgabe, Hardcover)",
		"Invader Zim's iron fist",
		"some ASCII-Arts",
		"The Family Learning Channel",
		"GOD",
		"Dorian Grey's picture",
		"some unlocked Grenades *BOOM*",
		"the Win2k Buglist",
		"a widescreen TV (it can damage your brain!)",
		"a chain saw",
		"a huge tree",
		"a 50'' CRT monitor",
		"a warehouse (Quadratisch. Praktisch. Gut.)"
	]
	if args <> "":
		weechat.command("/me slaps %s with %s." % (args, random.choice(objects)))
		return weechat.PLUGIN_RC_OK
	else:
		weechat.prnt("You must specify target")
		return weechat.PLUGIN_RC_KO

# giver
def giver(server, args):
	objects = [
		"a binary four",
		"a nice cup of SHUT THE FUCK UP",
		"an asskick",
		"a sign: 'Please kill yourself'",
		"a sign: 'Please go home now'",
		"an unlocked Grenade *tick tick BOOM*",
		"a gun - do it for mankind!"
 
	]
	if args <> "":
		weechat.command("/me gives %s %s." % (args, random.choice(objects)))
		return weechat.PLUGIN_RC_OK
	else:
		weechat.prnt("You must specify target")
		return weechat.PLUGIN_RC_KO

# hater 
def hater(server, args):
	objects = [
		"so much, that he spits hellfire",
		"so much, that he want's to shoot someone",
		"SOOOO MUUUUCH!!!"

	]
	if args <> "":
		weechat.command("/me hates %s %s." % (args, random.choice(objects)))
		return weechat.PLUGIN_RC_OK
	else:
		weechat.prnt("You must specify target")
		return weechat.PLUGIN_RC_KO

# lover 
def lover(server, args):
	actions = [
		"a *mwah*",
		"a wet kiss",
		"a tight and long hug",
		"an ass-squeeze",
		"a tight hug",
		"a wet kiss",
		"a nice, tight hug",
		"a kiss on the cheek",
		"a wet, french kiss",
		"a kiss",
		"a hug",
		"sex",
		"sweet romance",
		"some groping",
		"bed actions",
		"oral sex",
		"a porn-tape",
		"anal love",
	]
	if args <> "":
		weechat.command("/me cheers %s with %s.." % (args, random.choice(actions)))
		return weechat.PLUGIN_RC_OK
	else:
		weechat.prnt("You must specify target")
		return weechat.PLUGIN_RC_KO

# dancer 
def dancer(server, args):
	objects = [
		"used condoms",
		"condoms",
		"used tampons",
		"tampons",
		"roses",
		"rosebuds",
		"rice",
		"uncooked rice",
		"bananas",
		"little pieces of paper with the text *YAY!* on",
		"little pieces of paper with the text *w00t!* on",
		"little pieces of paper with the text *WOOHOO!* on",
		"little pieces of paper with the text *Kiss my cheek!* on",
		"coconuts with faces on",
		"little pieces of paper with the text *LOVE ROCKS!* on",
		"little pieces of paper with the text *LETS HAVE SEX!* on",
		"little pieces of paper with the text *GOD BLESS AMERICA!* on",
		"balloons with faces on",
		"balloons",
		"chocolate cakes",
		"english teachers",
		"pr0n magazines",
		"vietnamese kids",
		"snowballs",
		"rocks",
		"Michael Jackson (naked)",
		"unlocked Grenades *BOOM*",
		"Nine Inch Nails",
		"Bodyparts (bloody, wet & sexy)",
	]
	if args <> "":
		weechat.command("/me dances around %s throwing %s.." % (args, random.choice(objects)))
		return weechat.PLUGIN_RC_OK
	else:
		weechat.prnt("You must specify target")
		return weechat.PLUGIN_RC_KO

# BOFH excuser
def excuser(server, args):
	excuses = [
		"clock speed",
		"solar flares",
		"electromagnetic radiation from satellite debris",
		"static from nylon underwear",
		"static from plastic slide rules",
		"global warming",
		"poor power conditioning",
		"static buildup",
		"doppler effect",
		"hardware stress fractures",
		"magnetic interference from money/credit cards",
		"dry joints on cable plug",
		"we're waiting for [the phone company] to fix that line",
		"sounds like a Windows problem, try calling Microsoft support",
		"temporary routing anomaly",
		"somebody was calculating pi on the server",
		"fat electrons in the lines",
		"excess surge protection",
		"floating point processor overflow",
		"divide-by-zero error",
		"POSIX compliance problem",
		"monitor resolution too high",
		"improperly oriented keyboard",
		"network packets travelling uphill (use a carrier pigeon)",
		"Decreasing electron flux",
		"first Saturday after first full moon in Winter",
		"radiosity depletion",
		"CPU radiator broken",
		"It works the way the Wang did, what's the problem",
		"positron router malfunction",
		"cellular telephone interference",
		"techtonic stress",
		"piezo-electric interference",
		"(l)user error",
		"working as designed",
		"dynamic software linking table corrupted",
		"heavy gravity fluctuation, move computer to floor rapidly",
		"secretary plugged hairdryer into UPS",
		"terrorist activities",
		"not enough memory, go get system upgrade",
		"interrupt configuration error",
		"spaghetti cable cause packet failure",
		"boss forgot system password",
		"bank holiday - system operating credits  not recharged",
		"virus attack, luser responsible",
		"waste water tank overflowed onto computer",
		"Complete Transient Lockout",
		"bad ether in the cables",
		"Bogon emissions",
		"Change in Earth's rotational speed",
		"Cosmic ray particles crashed through the hard disk platter",
		"Smell from unhygienic janitorial staff wrecked the tape heads",
		"Little hamster in running wheel had coronary; waiting for replacement to be Fedexed from Wyoming",
		"Evil dogs hypnotised the night shift",
		"Plumber mistook routing panel for decorative wall fixture",
		"Electricians made popcorn in the power supply",
		"Groundskeepers stole the root password",
		"high pressure system failure",
		"failed trials, system needs redesigned",
		"system has been recalled",
		"not approved by the FCC",
		"need to wrap system in aluminum foil to fix problem",
		"not properly grounded, please bury computer",
		"CPU needs recalibration",
		"system needs to be rebooted",
		"bit bucket overflow",
		"descramble code needed from software company",
		"only available on a need to know basis",
		"knot in cables caused data stream to become twisted and kinked",
		"nesting roaches shorted out the ether cable",
		"The file system is full of it",
		"Satan did it",
		"Daemons did it",
		"You're out of memory",
		"There isn't any problem",
		"Unoptimized hard drive",
		"Typo in the code",
		"Yes, yes, its called a design limitation",
		"Look, buddy:  Windows 3.1 IS A General Protection Fault.",
		"That's a great computer you have there; have you considered how it would work as a BSD machine?",
		"Please excuse me, I have to circuit an AC line through my head to get this database working.",
		"Yeah, yo mama dresses you funny and you need a mouse to delete files.",
		"Support staff hung over, send aspirin and come back LATER.",
		"Someone is standing on the ethernet cable, causing a kink in the cable",
		"Windows 95 undocumented \"feature\"",
		"Runt packets",
		"Password is too complex to decrypt",
		"Boss' kid fucked up the machine",
		"Electromagnetic energy loss",
		"Budget cuts",
		"Mouse chewed through power cable",
		"Stale file handle (next time use Tupperware(tm)!)",
		"Feature not yet implemented",
		"Internet outage",
		"Pentium FDIV bug",
		"Vendor no longer supports the product",
		"Small animal kamikaze attack on power supplies",
		"The vendor put the bug there.",
		"SIMM crosstalk.",
		"IRQ dropout",
		"Collapsed Backbone",
		"Power company testing new voltage spike (creation) equipment",
		"operators on strike due to broken coffee machine",
		"backup tape overwritten with copy of system manager's favourite CD",
		"UPS interrupted the server's power",
		"The electrician didn't know what the yellow cable was so he yanked the ethernet out.",
		"The keyboard isn't plugged in",
		"The air conditioning water supply pipe ruptured over the machine room",
		"The electricity substation in the car park blew up.",
		"The rolling stones concert down the road caused a brown out",
		"The salesman drove over the CPU board.",
		"The monitor is plugged into the serial port",
		"Root nameservers are out of sync",
		"electro-magnetic pulses from French above ground nuke testing.",
		"your keyboard's space bar is generating spurious keycodes.",
		"the real ttys became pseudo ttys and vice-versa.",
		"the printer thinks its a router.",
		"the router thinks its a printer.",
		"evil hackers from Serbia.",
		"we just switched to FDDI.",
		"halon system went off and killed the operators.",
		"because Bill Gates is a Jehovah's witness and so nothing can work on St. Swithin's day.",
		"user to computer ratio too high.",
		"user to computer ration too low.",
		"we just switched to Sprint.",
		"it has Intel Inside",
		"Sticky bits on disk.",
		"Power Company having EMP problems with their reactor",
		"The ring needs another token",
		"new management",
		"telnet: Unable to connect to remote host: Connection refused",
		"SCSI Chain overterminated",
		"It's not plugged in.",
		"because of network lag due to too many people playing deathmatch",
		"You put the disk in upside down.",
		"Daemons loose in system.",
		"User was distributing pornography on server; system seized by FBI.",
		"BNC (brain not connected)",
		"UBNC (user brain not connected)",
		"LBNC (luser brain not connected)",
		"disks spinning backwards - toggle the hemisphere jumper.",
		"new guy cross-connected phone lines with ac power bus.",
		"had to use hammer to free stuck disk drive heads.",
		"Too few computrons available.",
		"Flat tire on station wagon with tapes.  (\"Never underestimate the bandwidth of a station wagon full of tapes hurling down the highway\" Andrew S. Tannenbaum) ",
		"Communications satellite used by the military for star wars.",
		"Party-bug in the Aloha protocol.",
		"Insert coin for new game",
		"Dew on the telephone lines.",
		"Arcserve crashed the server again.",
		"Some one needed the powerstrip, so they pulled the switch plug.",
		"My pony-tail hit the on/off switch on the power strip.",
		"Big to little endian conversion error",
		"You can tune a file system, but you can't tune a fish (from most tunefs man pages)",
		"Dumb terminal",
		"Zombie processes haunting the computer",
		"Incorrect time synchronization",
		"Defunct processes",
		"Stubborn processes",
		"non-redundant fan failure ",
		"monitor VLF leakage",
		"bugs in the RAID",
		"no \"any\" key on keyboard",
		"root rot",
		"Backbone Scoliosis",
		"/pub/lunch",
		"excessive collisions & not enough packet ambulances",
		"le0: no carrier: transceiver cable problem?",
		"broadcast packets on wrong frequency",
		"popper unable to process jumbo kernel",
		"NOTICE: alloc: /dev/null: filesystem full",
		"pseudo-user on a pseudo-terminal",
		"Recursive traversal of loopback mount points",
		"Backbone adjustment",
		"OS swapped to disk",
		"vapors from evaporating sticky-note adhesives",
		"sticktion",
		"short leg on process table",
		"multicasts on broken packets",
		"ether leak",
		"Atilla the Hub",
		"endothermal recalibration",
		"filesystem not big enough for Jumbo Kernel Patch",
		"loop found in loop in redundant loopback",
		"system consumed all the paper for paging",
		"permission denied",
		"Reformatting Page. Wait...",
		"..disk or the processor is on fire.",
		"SCSI's too wide.",
		"Proprietary Information.",
		"Just type 'mv * /dev/null'.",
		"runaway cat on system.",
		"Did you pay the new Support Fee?",
		"We only support a 1200 bps connection.",
		"We only support a 28000 bps connection.",
		"Me no internet, only janitor, me just wax floors.",
		"I'm sorry a pentium won't do, you need an SGI to connect with us.",
		"Post-it Note Sludge leaked into the monitor.",
		"the curls in your keyboard cord are losing electricity.",
		"The monitor needs another box of pixels.",
		"RPC_PMAP_FAILURE",
		"kernel panic: write-only-memory (/dev/wom0) capacity exceeded.",
		"Write-only-memory subsystem too slow for this machine. Contact your local dealer.",
		"Just pick up the phone and give modem connect sounds. \"Well you said we should get more lines so we don't have voice lines.\"",
		"Quantum dynamics are affecting the transistors",
		"Police are examining all internet packets in the search for a narco-net-trafficker",
		"We are currently trying a new concept of using a live mouse.  Unfortunately, one has yet to survive being hooked up to the computer.....please bear with us.",
		"Your mail is being routed through Germany ... and they're censoring us.",
		"Only people with names beginning with 'A' are getting mail this week (a la Microsoft)",
		"We didn't pay the Internet bill and it's been cut off.",
		"Lightning strikes.",
		"Of course it doesn't work. We've performed a software upgrade.",
		"Change your language to Finnish.",
		"Fluorescent lights are generating negative ions. If turning them off doesn't work, take them out and put tin foil on the ends.",
		"High nuclear activity in your area.",
		"What office are you in? Oh, that one.  Did you know that your building was built over the universities first nuclear research site? And wow, aren't you the lucky one, your office is right over where the core is buried!",
		"The MGs ran out of gas.",
		"The UPS doesn't have a battery backup.",
		"Recursivity.  Call back if it happens again.",
		"Someone thought The Big Red Button was a light switch.",
		"The mainframe needs to rest.  It's getting old, you know.",
		"I'm not sure.  Try calling the Internet's head office -- it's in the book.",
		"The lines are all busy (busied out, that is -- why let them in to begin with?).",
		"Jan  9 16:41:27 huber su: 'su root' succeeded for .... on /dev/pts/1",
		"It's those computer people in X {city of world}.  They keep stuffing things up.",
		"A star wars satellite accidently blew up the WAN.",
		"Fatal error right in front of screen",
		"That function is not currently supported, but Bill Gates assures us it will be featured in the next upgrade.",
		"wrong polarity of neutron flow",
		"Lusers learning curve appears to be fractal",
		"We had to turn off that service to comply with the CDA Bill.",
		"Ionization from the air-conditioning",
		"TCP/IP UDP alarm threshold is set too low.",
		"Someone is broadcasting pygmy packets and the router doesn't know how to deal with them.",
		"The new frame relay network hasn't bedded down the software loop transmitter yet. ",
		"Fanout dropping voltage too much, try cutting some of those little traces",
		"Plate voltage too low on demodulator tube",
		"You did wha... oh _dear_....",
		"CPU needs bearings repacked",
		"Too many little pins on CPU confusing it, bend back and forth until 10-20% are neatly removed. Do _not_ leave metal bits visible!",
		"_Rosin_ core solder? But...",
		"Software uses US measurements, but the OS is in metric...",
		"The computer fleetly, mouse and all.",
		"Your cat tried to eat the mouse.",
		"The Borg tried to assimilate your system. Resistance is futile.",
		"It must have been the lightning storm we had (yesterday) (last week) (last month)",
		"Due to Federal Budget problems we have been forced to cut back on the number of users able to access the system at one time. (namely none allowed....)",
		"Too much radiation coming from the soil.",
		"Unfortunately we have run out of bits/bytes/whatever. Don't worry, the next supply will be coming next week.",
		"Program load too heavy for processor to lift.",
		"Processes running slowly due to weak power supply",
		"Our ISP is having {switching,routing,SMDS,frame relay} problems",
		"We've run out of licenses",
		"Interference from lunar radiation",
		"Standing room only on the bus.",
		"You need to install an RTFM interface.",
		"That would be because the software doesn't work.",
		"That's easy to fix, but I can't be bothered.",
		"Someone's tie is caught in the printer, and if anything else gets printed, he'll be in it too.",
		"We're upgrading /dev/null",
		"The Usenet news is out of date",
		"Our POP server was kidnapped by a weasel.",
		"It's stuck in the Web.",
		"Your modem doesn't speak English.",
		"The mouse escaped.",
		"All of the packets are empty.",
		"The UPS is on strike.",
		"Neutrino overload on the nameserver",
		"Melting hard drives",
		"Someone has messed up the kernel pointers",
		"The kernel license has expired",
		"Netscape has crashed",
		"The cord jumped over and hit the power switch.",
		"It was OK before you touched it.",
		"Bit rot",
		"U.S. Postal Service",
		"Your Flux Capacitor has gone bad.",
		"The Dilithium Crystals need to be rotated.",
		"The static electricity routing is acting up...",
		"Traceroute says that there is a routing problem in the backbone.  It's not our problem.",
		"The co-locator cannot verify the frame-relay gateway to the ISDN server.",
		"High altitude condensation from U.S.A.F prototype aircraft has contaminated the primary subnet mask. Turn off your computer for 9 days to avoid damaging it.",
		"Lawn mower blade in your fan need sharpening",
		"Electrons on a bender",
		"Telecommunications is upgrading. ",
		"Telecommunications is downgrading.",
		"Telecommunications is downshifting.",
		"Hard drive sleeping. Let it wake up on it's own...",
		"Interference between the keyboard and the chair.",
		"The CPU has shifted, and become decentralized.",
		"Due to the CDA, we no longer have a root account.",
		"We ran out of dial tone and we're and waiting for the phone company to deliver another bottle.",
		"You must've hit the wrong any key.",
		"PCMCIA slave driver",
		"The Token fell out of the ring. Call us when you find it.",
		"The hardware bus needs a new token.",
		"Too many interrupts",
		"Not enough interrupts",
		"The data on your hard drive is out of balance.",
		"Digital Manipulator exceeding velocity parameters",
		"appears to be a Slow/Narrow SCSI-0 Interface problem",
		"microelectronic Riemannian curved-space fault in write-only file system",
		"fractal radiation jamming the backbone",
		"routing problems on the neural net",
		"IRQ-problems with the Un-Interruptible-Power-Supply",
		"CPU-angle has to be adjusted because of vibrations coming from the nearby road",
		"emissions from GSM-phones",
		"CD-ROM server needs recalibration",
		"firewall needs cooling",
		"asynchronous inode failure",
		"transient bus protocol violation",
		"incompatible bit-registration operators",
		"your process is not ISO 9000 compliant",
		"You need to upgrade your VESA local bus to a MasterCard local bus.",
		"The recent proliferation of Nuclear Testing",
		"Elves on strike. (Why do they call EMAG Elf Magic)",
		"Internet exceeded Luser level, please wait until a luser logs off before attempting to log back on.",
		"Your EMAIL is now being delivered by the USPS.",
		"Your computer hasn't been returning all the bits it gets from the Internet.",
		"You've been infected by the Telescoping Hubble virus.",
		"Scheduled global CPU outage",
		"Your Pentium has a heating problem - try cooling it with ice cold water.(Do not turn off your computer, you do not want to cool down the Pentium Chip while he isn't working, do you?)",
		"Your processor has processed too many instructions.  Turn it off immediately, do not type any commands!!",
		"Your packets were eaten by the terminator",
		"Your processor does not develop enough heat.",
		"We need a licensed electrician to replace the light bulbs in the computer room.",
		"The POP server is out of Coke",
		"Fiber optics caused gas main leak",
		"Server depressed, needs Prozac",
		"quantum decoherence",
		"those damn raccoons!",
		"suboptimal routing experience",
		"A plumber is needed, the network drain is clogged",
		"50% of the manual is in .pdf readme files",
		"the AA battery in the wallclock sends magnetic interference",
		"the xy axis in the trackball is coordinated with the summer solstice",
		"the butane lighter causes the pincushioning",
		"old inkjet cartridges emanate barium-based fumes",
		"manager in the cable duct",
		"We'll fix that in the next (upgrade, update, patch release, service pack).",
		"HTTPD Error 666 : BOFH was here",
		"HTTPD Error 4004 : very old Intel cpu - insufficient processing power",
		"The ATM board has run out of 10 pound notes.  We are having a whip round to refill it, care to contribute ?",
		"Network failure -  call NBC",
		"Having to manually track the satellite.",
		"Your/our computer(s) had suffered a memory leak, and we are waiting for them to be topped up.",
		"The rubber band broke",
		"We're on Token Ring, and it looks like the token got loose.",
		"Stray Alpha Particles from memory packaging caused Hard Memory Error on Server.",
		"paradigm shift...without a clutch",
		"PEBKAC (Problem Exists Between Keyboard And Chair)",
		"The cables are not the same length.",
		"Second-system effect.",
		"Chewing gum on /dev/sd3c",
		"Boredom in the Kernel.",
		"the daemons! the daemons! the terrible daemons!",
		"I'd love to help you -- it's just that the Boss won't let me near the computer. ",
		"struck by the Good Times virus",
		"YOU HAVE AN I/O ERROR -> Incompetent Operator error",
		"Your parity check is overdrawn and you're out of cache.",
		"Communist revolutionaries taking over the server room and demanding all the computers in the building or they shoot the sysadmin. Poor misguided fools.",
		"Plasma conduit breach",
		"Out of cards on drive D:",
		"Sand fleas eating the Internet cables",
		"parallel processors running perpendicular today",
		"ATM cell has no roaming feature turned on, notebooks can't connect",
		"Webmasters kidnapped by evil cult.",
		"Failure to adjust for daylight savings time.",
		"Virus transmitted from computer to sysadmins.",
		"Virus due to computers having unsafe sex.",
		"Incorrectly configured static routes on the corerouters.",
		"Forced to support NT servers; sysadmins quit.",
		"Suspicious pointer corrupted virtual machine",
		"It's the InterNIC's fault.",
		"Root name servers corrupted.",
		"Budget cuts forced us to sell all the power cords for the servers.",
		"Someone hooked the twisted pair wires into the answering machine.",
		"Operators killed by year 2000 bug bite.",
		"We've picked COBOL as the language of choice.",
		"Operators killed when huge stack of backup tapes fell over.",
		"Robotic tape changer mistook operator's tie for a backup tape.",
		"Someone was smoking in the computer room and set off the halon systems.",
		"Your processor has taken a ride to Heaven's Gate on the UFO behind Hale-Bopp's comet.",
		"it's an ID-10-T error",
		"Dyslexics retyping hosts file on servers",
		"The Internet is being scanned for viruses.",
		"Your computer's union contract is set to expire at midnight.",
		"Bad user karma.",
		"/dev/clue was linked to /dev/null",
		"Increased sunspot activity.",
		"We already sent around a notice about that.",
		"It's union rules. There's nothing we can do about it. Sorry.",
		"Interference from the Van Allen Belt.",
		"Jupiter is aligned with Mars.",
		"Redundant ACLs. ",
		"Mail server hit by UniSpammer.",
		"T-1's congested due to porn traffic to the news server.",
		"Data for intranet got routed through the extranet and landed on the internet.",
		"We are a 100% Microsoft Shop.",
		"We are Microsoft.  What you are experiencing is not a problem; it is an undocumented feature.",
		"Sales staff sold a product we don't offer.",
		"Secretary sent chain letter to all 5000 employees.",
		"Sysadmin didn't hear pager go off due to loud music from bar-room speakers.",
		"Sysadmin accidentally destroyed pager with a large hammer.",
		"Sysadmins unavailable because they are in a meeting talking about why they are unavailable so much.",
		"Bad cafeteria food landed all the sysadmins in the hospital.",
		"Route flapping at the NAP.",
		"Computers under water due to SYN flooding.",
		"The vulcan-death-grip ping has been applied.",
		"Electrical conduits in machine room are melting.",
		"Traffic jam on the Information Superhighway.",
		"Radial Telemetry Infiltration",
		"Cow-tippers tipped a cow onto the server.",
		"tachyon emissions overloading the system",
		"Maintenance window broken",
		"We're out of slots on the server",
		"Computer room being moved.  Our systems are down for the weekend.",
		"Sysadmins busy fighting SPAM.",
		"Repeated reboots of the system failed to solve problem",
		"Feature was not beta tested",
		"Domain controller not responding",
		"Someone else stole your IP address, call the Internet detectives!",
		"It's not RFC-822 compliant.",
		"operation failed because: there is no message for this error (#1014)",
		"stop bit received",
		"internet is needed to catch the etherbunny",
		"network down, IP packets delivered via UPS",
		"Firmware update in the coffee machine",
		"Temporal anomaly",
		"Mouse has out-of-cheese-error",
		"Borg implants are failing",
		"Borg nanites have infested the server",
		"error: one bad user found in front of screen",
		"Please state the nature of the technical emergency",
		"Internet shut down due to maintenance",
		"Daemon escaped from pentagram",
		"crop circles in the corn shell",
		"sticky bit has come loose",
		"Hot Java has gone cold",
		"Cache miss - please take better aim next time",
		"Hash table has woodworm",
		"Trojan horse ran out of hay",
		"Zombie processes detected, machine is haunted.",
		"overflow error in /dev/null",
		"Browser's cookie is corrupted -- someone's been nibbling on it.",
		"Mailer-daemon is busy burning your message in hell.",
		"According to Microsoft, it's by design",
		"vi needs to be upgraded to vii",
		"greenpeace free'd the mallocs",
		"Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)",
		"astropneumatic oscillations in the water-cooling",
		"Somebody ran the operating system through a spelling checker.",
		"Rhythmic variations in the voltage reaching the power supply.",
		"Keyboard Actuator Failure.  Order and Replace.",
		"Packet held up at customs.",
		"Propagation delay.",
		"High line impedance.",
		"Someone set us up the bomb.",
		"Power surges on the Underground."
	]
	weechat.command(random.choice(excuses))
	return weechat.PLUGIN_RC_OK


# fortune cookies
def fortune(server, args):
	fortunes = [
		"There are three kinds of people: men, women, and unix.",
		"BOFH Excuse #118: the router thinks its a printer.",
		"CHUBBY CHECKER just had a CHICKEN SANDWICH in downtown DULUTH!",
		"Think big. Pollute the Mississippi.",
		"An optimist is a man who looks forward to marriage. A pessimist is a married optimist.",
		"There are never any bugs you haven't found yet.",
		"It don't mean a THING if you ain't got that SWING!!",
		"Atomic batteries to power, turbines to speed. -- Robin, The Boy Wonder",
		"Two wrongs don't make a right, but three lefts do.",
		"A log may float in a river, but that does not make it a crocodile.",
		"Art is Nature speeded up and God slowed down. -- Chazal",
		"Texas law forbids anyone to have a pair of pliers in his possession.",
		"UFOs are for real: the Air Force doesn't exist.",
		"Expansion means complexity; and complexity decay.",
		"I came, I saw, I deleted all your files.",
		"The Magic of Windows: Turns a 486 back into a PC/XT.",
		"Our vision is to speed up time, eventually eliminating it. -- Alex Schure",
		"Breaking Windows isn't just for kids anymore...",
		"Neckties strangle clear thinking. -- Lin Yutang",
		"I'm prepared for all emergencies but totally unprepared for everyday life.",
		"Yow!  I just went below the poverty line!",
		"Break into jail and claim police brutality.",
		"BOFH Excuse #290: The CPU has shifted, and become decentralized.",
		"Did you hear about the model who sat on a broken bottle and cut a nice figure?",
		"We have a equal opportunity Calculus class -- it's fully integrated.",
		"BOFH Excuse #170: popper unable to process jumbo kernel",
		"It's later than you think.",
		"My Aunt MAUREEN was a military advisor to IKE & TINA TURNER!!",
		"Everyone hates me because I'm paranoid.",
		"When you are in it up to your ears, keep your mouth shut.",
		"Theory is gray, but the golden tree of life is green. -- Goethe",
		"Most Texans think Hanukkah is some sort of duck call. -- Richard Lewis",
		"grasshopotomaus: A creature that can leap to tremendous heights... once.",
		"It takes both a weapon, and two people, to commit a murder.",
		"Facts are the enemy of truth. -- Don Quixote",
		"Forty two.",
		"BOFH Excuse #424: operation failed because: there is no message for this error (#1014)",
		"Never leave anything to chance; make sure all your crimes are premeditated.",
		"BOFH Excuse #60: system has been recalled",
		"Science and religion are in full accord but science and faith are in complete discord.",
		"A likely impossibility is always preferable to an unconvincing possibility. -- Aristotle",
		"The angry man always thinks he can do more than he can. -- Albertano of Brescia",
		"Hello again, Peabody here... -- Mister Peabody",
		"Nobody ever died from oven crude poisoning.",
		"Dogs crawl under fences... software crawls under Windows 95.",
		"Say something you'll be sorry for, I love receiving apologies.",
		"NOTICE: -- THE ELEVATORS WILL BE OUT OF ORDER TODAY -- (The nearest working elevator is in the building across the street.)",
		"THERE ARE PLENTY OF BUSINESSES LIKE SHOW BUSINESS -- Bart Simpson on chalkboard in episode 1F19",
		"Life is what happens to you while you're busy making other plans. -- John Lennon, Beautiful Boy",
		"While having never invented a sin, I'm trying to perfect several.",
		"Emacs, n.: A slow-moving parody of a text editor.",
		"	... with liberty and justice for all ... who can afford it.",
		"Princess Leia: Aren't you a little short for a stormtrooper?",
		"The Official Colorado State Vegetable is now the 'state legislator'",
		"Abandon the search for Truth; settle for a good fantasy.",
		"There's nothing to writing.  All you do is sit at a typewriter and open a vein. -- Red Smith",
		"Our OS who art in CPU, UNIX be thy name. Thy programs run, thy syscalls done, In kernel as it is in user!",
		"All hope abandon, ye who enter here! -- Dante Alighieri",
		"The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.",
		"Professor: 'If a dog craps anywhere in the universe, you can bet I won't be out of loop.'",
		"I WILL NOT MAKE FLATUENT NOISES IN CLASS -- Bart Simpson on chalkboard in episode 7F13",
		"Listen you donkey raping shit eater.",
		"In specifications, Murphy's Law supersedes Ohm's.",
		"One of Bender's kids: Our dad is a giant toy!",
		"I am a jelly donut.  I am a jelly donut.",
		"We are all in the gutter, but some of us are looking at the stars. -- Oscar Wilde",
		"Bender to Zoidberg: 'You're looking less nuts, crabby.'",
		"Things will be bright in P.M.  A cop will shine a light in your face.",
		"A journey of a thousand miles begins with a cash advance.",
		"Everything that can be invented has been invented. -- Charles Duell, Director of U.S. Patent Office, 1899",
		"Vote anarchist.",
		"paranoia, n.: A healthy understanding of the way the universe works.",
		"BOFH Excuse #401: Sales staff sold a product we don't offer.",
		"BOFH Excuse #200: The monitor needs another box of pixels.",
		"The important thing is not to stop questioning.",
		"Not all men who drink are poets.  Some of us drink because we aren't poets.",
		"Oh my god, dude!",
		"BOFH Excuse #441: Hash table has woodworm",
		"BOFH Excuse #112: The monitor is plugged into the serial port",
		"There's so much to say but your eyes keep interrupting me.",
		"For the next hour, WE will control all that you see and hear.",
		"Reality continues to ruin my life. -- Calvin",
		"The shortest distance between two points is under construction. -- Noelie Alito",
		"BOFH Excuse #192: runaway cat on system.",
		"My haircut is totally traditional!",
		"You!  What PLANET is this! -- McCoy, 'The City on the Edge of Forever', stardate 3134.0",
		"BOFH Excuse #433: error: one bad user found in front of screen",
		"Dyslexics have more fnu.",
		"I'm not stupid, I'm not expendable, and I'M NOT GOING!",
		"It's clever, but is it art?",
		"His life was formal; his actions seemed ruled with a ruler.",
		"Yeah. Except for being entirely different, they're pretty much the same.",
		"Oh, I get it!!  'The BEACH goes on', huh, SONNY??",
		"Ban the bomb.  Save the world for conventional warfare.",
		"Everything that you know is wrong, but you can be straightened out.",
		"If I pull this SWITCH I'll be RITA HAYWORTH!!  Or a SCIENTOLOGIST!",
		"Tex SEX!  The HOME of WHEELS!  The dripping of COFFEE!!  Take me to Minnesota but don't EMBARRASS me!!",
		"clovek, ktory si ako prvy kupil fax musel byt strasny kokot.",
		"Are you a turtle?",
		"You will be the last person to buy a Chrysler.",
		"If in doubt, mumble.",
		"Nice guys don't finish nice.",
		"You cannot use your friends and have them too.",
		"Microsoft is to Software as McDonalds is to Cuisine.",
		"panic: can't find /",
		"I used to be an agnostic, but now I'm not so sure.",
		"May your SO always know when you need a hug.",
		"We are MicroSoft.  You will be assimilated.  Resistance is futile. (Attributed to B.G., Gill Bates)",
		"Life is a whim of several billion cells to be you for a while.",
		"BOFH Excuse #347: The rubber band broke",
		"Death has been proven to be 99% fatal in laboratory rats.",
		"There are only two kinds of tequila.  Good and better.",
		"C for yourself.",
		"Tact, n.: The unsaid part of what you're thinking.",
		"Shit Happens."
	]
	weechat.command(("Wanda the Fish says: %s") % random.choice(fortunes))
	return weechat.PLUGIN_RC_OK

# winjoke
def winjoke(server, args):
	winjokes = [
		"Windows NT, from the people who invented EDLIN!",
		"Windows: Microsoft's tax on computer illiterates.",
		"The nice thing about Windows is - It does not just crash, it displays a dialog box and lets you press 'OK' first.",
		"Why use Windows, since there is a door?",
		"In a world without fences who needs Gates?",
		"Another name for a Windows tutorial is crash course!",
		"Failure is not an option -- it comes bundled with Windows.",
		"NT... the last two letters of bowel movement",
		"Some software money can't buy. For everything else there's Micros~1.",
		"Sticks and Stones may break my bones but FUD will never concern me.",
		"Every program expands until it can send mail. ...Except Exchange. ",
		"Microsoft: 'You've got questions. We've got dancing paperclips.'",
		".vbs = Virus Bearing Script?",
		"Technology is positive when the creators put the interests of their users before their bottom line.",
		"Have you ever noticed that at trade shows Microsoft is always the one giving away stress balls?",
		"Do you remember when you only had to pay for windows when *you* broke them? (Submitted by Noel Maddy)",
		"National Weather Service advice for those threatened by severe thunderstorms: 'Go inside a sturdy building and stay away from WINDOWS!' (Submitted by Ben Bullock)",
		"Microsoft is to Software as McDonalds is to Cuisine.",
		"Microsoft should switch to the vacuum cleaner business where people actually want products that suck. (Submitted by Bruno Bratti)",
		"Everyone seems so impatient and angry these days. I think it's because so many people use Windows at work -- do you think you'd be Politeness Man after working on Windows 8 hrs. or more? (Submitted by Chip Atkinson)",
		"NT 5.0 so vaporous it's in danger of being added to the periodic table as a noble gas. (Spotted in a Slashdot discussion)",
		"My Beowulf cluster will beat your Windows NT network any day. (Submitted by wbogardt[at]gte.net)",
		"It's no wonder they call it WinNT; WNT = VMS++; (Submitted by Chris Abbey)",
		"Double your disk space - delete Windows! (Submitted by Albert Dorofeev)",
		"The Edsel. New Coke. Windows 2000. All mandatory case studies for bizschool students in 2020. (From a LinuxToday post by Bear Giles)",
		"I will never trust someone called GATES that sells WINDOWS. (Submitted by Federico Roman)",
		"'Microsoft technology' -- isn't that an oxymoron?",
		"MCSE == Mentally Challenged Slave of the Empire.",
		"Windows NT -- it'll drive you buggy!",
		"Where do you want to go today? Don't ask Microsoft for directions.",
		"MS and Y2K: Windows 95, 98, ... and back again to 01",
		"There's the light at the end of the the Windows.",
		"People use dummies for crash-tests. Windows is so difficult they had to educate the dummies first -- by giving them 'Windows for Dummies' books!",
		"Windows: The first user interface where you click Start to turn it off.",
		"NT == No Thanks",
		"With Windows Millennium, Microsoft was able to get the boot time down to 25 seconds. That's almost as short as it's uptime.",
		"Windows 2000: Designed for the Internet. The Internet: Designed for UNIX.",
		"MCSE = Minesweeper Consultant, Solitaire Expert",
		"MCSE = Meaningless Certificate, Software Expired",
		"I'm not a programmer, but I play one at Microsoft.",
		"Microsoft Zen - Become one with the blue screen.",
		"The next hot technology from Microsoft will be object-oriented assembly."
	] 
	weechat.command(("Wanda the Fish says: %s") % random.choice(winjokes))
	return weechat.PLUGIN_RC_OK

# linjoke
def linjoke(server, args):
	linjokes = [
		"Got Linux?",
		"Microsoft gives you Windows... Linux gives you the whole house.",
		"Linux, DOS, Windows NT -- The Good, the Bad, and the Ugly",
		"Linux: the operating system with a CLUE... Command Line User Environment",
		"If Bill Gates is the Devil then Linus Torvalds must be the Messiah.",
		"Linux. Where do you want to go tomorrow?",
		"Linux: The choice of a GNU generation",
		"When you say I wrote a program that crashed Windows, people just stare at you blankly and say Hey, I got those with the system, *for free*. -- Linus Torvalds",
		"We all know Linux is great...it does infinite loops in 5 seconds. -- Linus Torvalds",
		"Some people have told me they dont think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. Theyd be a lot more careful about what they say if they had. -- Linus Torvalds",
		"Veni, vidi, Linux!",
		"Type cat vmlinuz > /dev/audio to hear the Voice of God.",
		"Linux: Because a PC is a terrible thing to waste.",
		"Linux: Because rebooting is for adding new hardware",
		"We are Linux. Resistance is measured in Ohms.",
		"Free Software: the Software by the People, of the People and for the People. Develop! Share! Enhance! and Enjoy! (Submitted by Andy Tai)",
		"Get it up, keep it up... LINUX: Viagra for the PC. (Submitted by Chris Abbey)",
		"Peace, Love and Compile the kernel.... (Submitted by Justin L. Herreman)",
		"Free your software, and your ass will follow",
		"Reset button? Which reset button? - Linux, the OS that never sleeps.",
		"Linux: Where do you want to GO... Oh, Im already there!",
		"Windows contains FAT. Use Linux -- you wont ever have to worry about your weight.",
		"Oh My God! They Killed init! You Bastards!",
		"Unix: Where /sbin/init is still Job 1."
	]
	weechat.command(("Wanda the Fish says: %s") % random.choice(linjokes))
	return weechat.PLUGIN_RC_OK