Added min asshole level for flummi
This commit is contained in:
parent
a75dcbb6c2
commit
6b50005bd8
@ -331,11 +331,15 @@ class Useless(DatabasePlugin):
|
||||
%%asshole [<nick>]
|
||||
"""
|
||||
nick = args.get('<nick>', mask.nick)
|
||||
asshole_perc = random.randint(0, 100)
|
||||
|
||||
if nick == 'mrhanky':
|
||||
asshole_perc = 100
|
||||
perc_min = 100
|
||||
elif nick == 'Flummi':
|
||||
perc_min = 90
|
||||
else:
|
||||
perc_min = 0
|
||||
|
||||
asshole_perc = random.randint(perc_min, 100)
|
||||
return 'Asshole scan... {} is {}% of an asshole.'.format(nick, asshole_perc)
|
||||
|
||||
@command
|
||||
|
Loading…
Reference in New Issue
Block a user