-
Notifications
You must be signed in to change notification settings - Fork 2
/
plore.py
356 lines (340 loc) · 16 KB
/
plore.py
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
from tf import eval as tfeval # type: ignore
from tfutils import tfprint
TYPO_MESSAGES = set(
[
" _ ",
" ___ ___ _ __ ___| | ",
" / _ \\\ / _ \\\| '_ \\\/ __| | ",
"| (_) | (_) | |_) \\\__ \\\_| ",
" \\\___/ \\\___/| .__/|___(_) ",
" |_| a typo! ",
" disrespectfully? Had you come to me in friendship, then this typo that ruined",
" your game would be suffering this very day.'",
" had to typo in mine.'",
"\% You have new mail in /var/mail/root",
"\%DCL-W-IVVERB, unrecognized command verb - check validity and spelling",
"2b||!2b",
"@Durand kicks you hard in the knee.",
"@Zin drools over your typo.",
"_ _.__ .__. ___",
"A BIG punishment-demon hits your command HARD.",
"A BIG punishment-m00se whacks you HARD.",
"A gorey tongue appears from the skies and zaps your typo to pieces.",
"A little typo is better than a big one.",
"A m00se walks into view and eats your typo.",
"A Multicolored typo arrives and steals 2034gp from your purse.",
"A typo a day keeps the commands away.",
"A typo! Don't worry, you can still vote for BatMUD at http://www.bat.org/u/DIs",
"a) Remove your tongue from keyboard, and b) stuff it in your mouth.",
"Aaahh... I want more.",
"Ahem?",
"Ahh that's REALLY interesting..",
"Ahhum?",
"Andres Cantor shouts 'TYPOOOOOOOOO!'",
"Anipa awards Gameman 1 points for completing 'typoking' task.",
"Anipa chooses to ignore your command.",
"Arakorni arrives and gives you the 'Typo of the Year' award.",
"Are you a commie mutant traitor, or is your typing just terrible?",
"Are you using a styrofoam coating on your fingers?",
"Arglebargle Glop-Glyf?!?",
"Argon says 'Goodbye!'",
"Armageddon tells you 'A, B, C, D, E, F, G, H... get it?'",
"Armageddon tells you: Learn to type, or I'll...",
"At the moment, we have enough typos, please submit yours next year.",
"Belzoni eyes your typo suspiciously.",
"Bumble ptypos somethgni for yuo.",
"Bumble spals you hard! Spalts!",
"But you don't even have one ?!?!?.",
"But, Sir, wouldn't that be wrong?",
"Bzzzrrrrr-Klonk, Poink poink poink POINK!.",
"BZZZT! A typo.",
"Can't you do anything right?",
"Captain [bat]: WHAT HAPPEN??",
"Captain [bat]: WHAT YOU SAY!!",
"Cats [bat]: ALL YOUR TYPO ARE BELONG TO US!!",
"Come on butterfingers! Show the keyboard who is WHO!",
"Connection closed by foreign host.",
"Coren kicks you and says 'Use English damn it!'",
"Cyberman appears out of nowhere, bites you in the nose and takes your typo",
"Danish m00se use pink walkie talkies.",
"Darth Vader is in command, you can only typo.",
"Darth Vader tells you 'You have failed me for the last time.'",
"Did you look at Zonni's code when you learned how to type?",
"Dire GRABS your wielded Typo and puts it in his pack!!",
"Dire hangs from the roof head down and chants 'O typo domine.'",
"DISCONNECT",
"Dividing total exp by 10...done.",
"divine overflow, core bumped.",
"Do you know how much lag these typos you make produce?",
"Do you mean 'quit'?",
"Don't bang your head on the keyboard.",
"Don't use your tongue while typing!!",
"Duke <awiz>: You're not a real arch, until you are a drunken arch.",
"Duke says 'Get it right or don't get it at all'.",
"Duke shouts 'Hey! Did you hear what this one guy just wrote?!'",
"Durand gives you a \>\+\+\{\>.",
"Durand nods knowingly.",
"Durand shakes your hand and congratulates you for your 2001st typo!",
"Enchanting!!",
"Entschuldigen Sie?",
"ErRoR: no space left on device /dev/null",
"Error: unable to clone /secure/typo! You had better provide some more fast!",
"eV3n ArAk0rn1 w0Uldn'T Und3r\$tAnd ThAT.",
"Ex-scuse-Moi?",
"Excessive typos can be hazardous for your health.",
"Fascinating.",
"Ffgfd jioerjg v}i9r8u 9v898grj 4ffy984f89uifuv| hvrr 58v89g5555hvf.",
"For christs sake, WHAT??",
"For soon the cold of night will fall, summoned by your own hand.",
"F|rl}t mig?",
"Game Driver says 'What have I ever done to make you treat me so",
"Game Driver tells you 'Of all the muds in all the games in all the world, you",
"Gamedriver [sales]: Buy a better keyboard. You typo too much...",
"Gamedriver hugs you.",
"Gamedriver screams in agony!",
"Gamedriver slaps you.",
"Gamedriver tells you 'If you can typo, I can too.'",
"Gamedriver tells you 'Koodi koodi.. vakten... We have a loose typo here.",
"Gamedriver tells you 'Nyt l{het{{n kannelle puhuun suomea! *swing*'",
"Gamedriver tells you 'Riihim{ki rulettaa!'",
"Gamedriver tells you 'Thank you. Your typo has been logged and stored.'",
"Gamedriver thinks you need a new keyboard.",
"Gamedriver: Special reset code recognized. Resetting player to level 1.",
"Garbage collecting... done.",
"Get outta here!",
"Get real man!",
"Get that glue off from your keyboard.",
"Ghost of Your typo [ghost]: Could I get a resurrect?",
"Glitt-glort Bleeble-durb?!?",
"Glurtzgarcccxxxchhh???",
"Gore eyes your typo with contempt.",
"Grinning diabolically you barbarically TYPO your keyboard causing ASCII to fly everywhere!",
"HAHA!!! Now that was a funny typo! *giggle*",
"Haha, you typoed! Learn who to spill!",
"Hasta la Vista, baby...",
"Have you hugged your keyboard today?",
"Help email, updated email helps you get your password back easily.",
"Help register, register data help easy password recovery, if and when you forget it.",
"Hey! No norwegian allowed here!",
"How DARE you type things like that??",
"How exciting!!",
"I can't really comment on that one.",
"I hate it when you type that.",
"I wouldn't enter any typing contest if I were you.",
"I'm gonna tell Zonni you typed that!",
"I'm sorry, but I don't understand you.",
"Idiot!!",
"If you don't fix that typo, you'll regret it. Maybe not today. Maybe not",
"In the name of all things that don't suck! Stop typing that!",
"Info: Quadra is mean but Durand is meaner.",
"Info: Typo.",
"Info: You are now a Jedi.",
"Interesting, veeeeery interesting indeed....",
"Is this how you normally behave, or did you leave your brains at home?",
"Jaf ignores your pitiful plea for help.",
"jako ylivuoto, kara heitetty",
"Jarnis codes better than you type.",
"Jos Paavosta tulee pressa, ni typot menee lakkoon.",
"Kasi? Eikai vaan KASI?!?",
"Keitetty banaani ja m{mmi{ kiitos ?!?!",
"Keksimies antaa sinulle keksin.",
"Kukkia, kukkia. Nyt tiedan miksi on kukkia!",
"Lag-Monster eats your command.",
"Let me guess, Mordac gave you that keyboard?",
"Let the Power be with your typo!",
"Life is a beach, then you learn to type.",
"Line noise is getting to you.",
"linja-auto virhe, kara varmuuskopioitu",
"Little blue moomin advises you to spell it right next time.",
"Look, it's behind you!",
"MAJOR: S2: CPU 0 temperature Non Critical",
"Mechanic [bat]: SOMEBODY SET UP US THE TYPO!!",
"Meep meep.",
"Meesa not like you's typo!",
"Mihin ruumiinosaan iskee Hepatiitti?",
"Mums mums mums mums WHAT mums mums mums.",
"Never leave your typo alone like that!",
"NFS getattr failed for server lerppu-d: RPC: Timed out",
"Nitwit!",
"NO CARRIER but a typo.",
"NO CARRIER",
"No dice!",
"No one has ever seen a better Typo Galore before!! hehehe!",
"No shit?",
"No such file or directory.",
"No typo is impossible.",
"No, no no, it's not called in yet!",
"No, not that command.",
"Not a chance.",
"Nothing happens!",
"numero tekee osoituksen ilman kipsia",
"Nyaa, zis is Vito, ze Gamedriver just put a contract on you and your typos.",
"Oink?? OINK??",
"Ok, deleting your playerfile..........Done.",
"One more typo and I'll give you to a typing school.",
"One more typo and yer dead.",
"Osir says 'Nyt alkaa punatullujen teurastus!' (paid typo message)",
"Out of memory.",
"Paavo on yst{v{si!",
"Pardon?",
"Perunoita, perunoita, perunoita, ..",
"PING! You just did the 1,000,000th typo! Congrats!",
"Pino vika, ranka heitetty.",
"Please easy type to me so I can sucess reply.",
"Process priority override -- please wait.",
"Puh-Leeeezzze.",
"Quadra places your typo on the 'Top 400' typos list.",
"Quadra touches you and spoils your concentration ruining the spell.",
"Real mudders never make typos.",
"Reilu peli on perseest{ (fair play sucks)",
"Repeat, please!",
"Sano suomeks joset muuten osaa 'kele.",
"Scusi?",
"Shades drools after your bare naked typo!",
"Sorry, but that is not allowed.",
"Sure, sure.. (hey bob, call the shrinks).",
"Syntax error.",
"Tahdotko vanilja- vai suklaakastiketta papukaijamerkkisi paalle?",
"That command hasn't yet been invented.",
"That Typo was the 42!",
"That wasn't a very nice thing to say.",
"The channel Lotto will be held in 12 minutes.",
"The Gamedriver feels sorry for your keyboard.",
"The Gatekeeper roars 'There is no typo...only ZUUL!'",
"There isn't much I can do about that.",
"Thinking of you, your keyboard is too terrified to act.",
"This is a plain typo message, if you see this, you made a typo.",
"This is your big chance! Do it right the second time!",
"This really isn't your day, is it?",
"Tim Brando laments 'The keyboard unkind.'",
"Toffo, Toffoilemaaaaaaan!!!!",
"tomorrow. But soon, and for the rest of your life.",
"Try using the webster server for a correct spelling.",
"Type softly and gently, like a song from happy birds.",
"Typing lessons on Tuesdays at classroom 5A.",
"Typo, ypot, poyt, yopt, no matter how you spell it, you still made one.",
"Typos are every mortal's best friend.",
"U can eat a typo but can u marry it?",
"Unreal, man!",
"usage: fdisk <device>",
"Usage: kill <pid>",
"Use your fingers to type, the sword is sort of clumsy.",
"Vain pakki puuttuu!?!?.",
"Vesa laukkanen eduskuntaan.",
"Waht?",
"Watch your language, there are ladies present.",
"We are too busy to process this command.",
"Well, that wasn't the correct answer. EEEEP! Try again.",
"Well... now son... I have always wanted to talk about your typos...",
"What the hell?",
"What? i REFUSE to eat THAT!?!!",
"What?",
"Winners don't do typos.",
"with him!",
"Wow! What an accomplishment!",
"Wow. An unidentified typo flew by with its floating m00se.",
"Yes I know about that problem.",
"Yoda says 'A Jedi uses the Force for knowledge and defense, never for typos.'",
"Yoda says 'No! Try not. Type. Or type not. There is no try.'",
"Yoda says 'Typos lead to anger. Anger leads to hate. Hate leads to suffering!'",
"You are hunted by your typo.",
"You are now a Wizard.",
"You are now hunting your typo.",
"You are STUNNED from the force of the attack typo.",
"You asked for it, but won't get it.",
"You break your typo attempt.",
"You drop your wielded command.",
"You drop your wielded typo!",
"You fail to invent a new command.",
"You feel fully typoed.",
"You feel happy.",
"You feel like your typo healed you a bit.",
"You feel something probing your typos.",
"You lose four levels.",
"You must be paranoid.",
"You receive 2001 task points for completing the 'MAJOR typos' task.",
"You see little TYPOS dancing all around you.",
"You should have seen how Angell typed that one!",
"You sizzle with magical typos.",
"You spell your typo and Slip disappears into thin air.",
"You STUN your typo!",
"You think that is far out, wait till you hear what Tonze typed.",
"You try to backstab your typo but you miss by a mile.",
"You typo make me sad with huge nervis.",
"You vanish!",
"You want boilt mushrooms on sour milk sauce?",
"You would, wouldn't you?",
"You wouldn't do well in the 'Wheel of Fortune' with those typos.",
"Your fingers are like a bunch of bananas!!!",
"Your keyboard melts to organic slush!",
"Your sensitive mind notices a command somewhere in the fabric of space.",
"Your typing SUCKS!!!",
"Your typing sucks.",
"Your typo bites you. OUCH!",
"Your typo decides that lying here is too boring, and walks away!",
"Your typo destructs since it hadn't been converted yet.",
"Your typo falls into a pit dug by Greyhame and dies.",
"Your typo has been chat-cursed by Blitzer.",
"Your typo has been sent to the typo hall of fame.",
"Your typo huggles you warmly.",
"Your typo is surrounded by Sumuisten Vuorten Sumu (tm)",
"Your typo is violently hi-jacked by someone and abducted into the shadows.",
"Your typo limit has been exceeded. Next one will terminate your keyboard.",
"Your uninsured typo has been abducted by space aliens led by Arakorni!",
"Zat, my friend, vas a typo.",
"Zinnukka picks your typo up in his arms and rocks it slowly.",
"Zonni chops off your fingers, one-by-one.",
'Do you really think that the O\'s in "M00se" are typos?',
]
)
PLORE_GAGS = set(
[
"Unknown command",
"Nothing taken!",
"You can not take *.",
"You can't take *.",
"You can't do that.",
"chan_say: You flip * head over heels.",
"chan_say: You hold * close.",
"chan_say: You poke *.",
"chan_say: You polish.",
"chan_say: You roll * over.",
"chan_say: You step.",
"chan_say: You swing your pick and continue digging a hole for *.",
"chan_say: You tap your foot impatiently.",
"chan_say: You touch * in all the right places.",
"chan_say: You try to push * away.",
"chan_say: You turn * around.",
"chan_say: You twist your arms nervously.",
"chan_say: You wipe sweat from your forehead.",
]
)
def plore(s: str):
enablePloreGags("")
tfeval("@plore {0}".format(s))
def enablePloreGags(s: str):
tfprint("enable plore gags")
for i, msg in enumerate(PLORE_GAGS):
tfeval("/def -ag -p10 -mglob -t`{0}` gag_plore_{1} = ".format(msg, i))
def disablePloreGags(s: str):
tfprint("disable plore gags")
for i, msg in enumerate(PLORE_GAGS):
tfeval("/undef gag_plore_{0}".format(i))
def setup():
for i, msg in enumerate(TYPO_MESSAGES):
tfeval(
"/def -i -F -p11 -msimple -t`{0}` substitute_typo_{1} = ".format(msg, i)
+ "/substitute Unknown command"
)
tfeval(
"/def -agGL -msimple -t`"
+ "Astounding! You can see things no one else can see, such as plore_starts.`"
+ " plore_start = /python_call plore.enablePloreGags"
)
tfeval(
"/def -agGL -msimple -t`"
+ "Astounding! You can see things no one else can see, such as plore_ends.`"
+ " plore_end = /python_call plore.disablePloreGags"
)
tfprint("Loaded plore.py")
setup()