aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluk3yx <luk3yx@users.noreply.github.com>2022-07-02 10:56:02 +1200
committerluk3yx <luk3yx@users.noreply.github.com>2022-07-02 10:56:02 +1200
commit38f60f6dca27f4be9bdae038bce655663961f69b (patch)
tree359692373c945c6f4552140533c7fbed191cfa83
parent41ea6666a4f741bf9f1f6e7781f34be68a7b93ea (diff)
downloadlurklite-commands-38f60f6dca27f4be9bdae038bce655663961f69b.tar.gz
lurklite-commands-38f60f6dca27f4be9bdae038bce655663961f69b.zip
Update wild.py
-rw-r--r--wild.py18
1 files changed, 17 insertions, 1 deletions
diff --git a/wild.py b/wild.py
index bb46a1c..3fc9540 100644
--- a/wild.py
+++ b/wild.py
@@ -41,7 +41,7 @@ class WildThing:
def choice1(self, i):
if i == 1:
return 'You ran away from the wild {}!'
- return False, 'You \2trip over\2 a wild \2' + random.choice(('chair',
+ return False, 'You \2trip over\2 a \2' + random.choice(('chair',
'blade of grass', 'knife', 'rake', 'fire hydrant', 'van door')) \
+ '\2, and the wild {} wins!'
@@ -147,6 +147,22 @@ class WildComma(WildThing):
return False, 'After a long day of consideration, you give up and' \
' allow the wild {} to win!'
+@CustomWildThing('Andrew')
+class WildAndrew(WildThing):
+ options2 = ("hijack Andrew's WeeChat session",)
+ options3 = ('rickroll',)
+ def choice2(self, i):
+ if i > 3:
+ return "You successfully hijack the wild {}'s WeeChat session!"
+ return False, ('The wild {} decided to return while you were '
+ 'attempting to hijack their WeeChat session!')
+
+ def choice3(self, i):
+ if i > 3:
+ return 'You catch the wild {} off-guard and rickroll them!'
+ return 'The wild {} decides that they are \2never gonna give you up\2!'
+
+
data = {}
@register_command('wild')
def wild_cmd(irc, hostmask, is_admin, args):