added the role settings for 22 and 29 players
This commit is contained in:
parent
acc397261a
commit
aafb7a6b96
2
var.py
2
var.py
@ -32,6 +32,8 @@ ROLES_GUIDE = { 4 : ( 1 , 1 , 0 , 0 , 0 , 0 , 0
|
|||||||
10 : ( 1 , 2 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 0 ), ##
|
10 : ( 1 , 2 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 0 ), ##
|
||||||
11 : ( 1 , 2 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 0 ), ##
|
11 : ( 1 , 2 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 0 ), ##
|
||||||
15 : ( 1 , 3 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 ), ##
|
15 : ( 1 , 3 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 ), ##
|
||||||
|
22 : ( 1 , 4 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 ), ##
|
||||||
|
29 : ( 1 , 5 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 ), ##
|
||||||
None : ( 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )} ##
|
None : ( 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )} ##
|
||||||
#################################################################################################################
|
#################################################################################################################
|
||||||
# Notes: ##
|
# Notes: ##
|
||||||
|
@ -88,7 +88,7 @@ def connect_callback(cli):
|
|||||||
|
|
||||||
|
|
||||||
def mass_mode(cli, md):
|
def mass_mode(cli, md):
|
||||||
""" Example: mass_mode((('+v', 'asdf'), ('-v','wobosd'))) """
|
""" Example: mass_mode(cli, (('+v', 'asdf'), ('-v','wobosd'))) """
|
||||||
lmd = len(md) # store how many mode changes to do
|
lmd = len(md) # store how many mode changes to do
|
||||||
for start_i in range(0, lmd, 4): # 4 mode-changes at a time
|
for start_i in range(0, lmd, 4): # 4 mode-changes at a time
|
||||||
if start_i + 4 > lmd: # If this is a remainder (mode-changes < 4)
|
if start_i + 4 > lmd: # If this is a remainder (mode-changes < 4)
|
||||||
@ -148,10 +148,9 @@ def forced_exit(cli, nick, *rest): # Admin Only
|
|||||||
"""Forces the bot to close"""
|
"""Forces the bot to close"""
|
||||||
|
|
||||||
reset(cli)
|
reset(cli)
|
||||||
print("Quitting in 5 seconds.")
|
|
||||||
dict.clear(COMMANDS)
|
dict.clear(COMMANDS)
|
||||||
dict.clear(PM_COMMANDS)
|
dict.clear(PM_COMMANDS)
|
||||||
dict.clear(PM_COMMANDS)
|
dict.clear(HOOKS)
|
||||||
cli.quit("Forced quit from admin")
|
cli.quit("Forced quit from admin")
|
||||||
raise SystemExit
|
raise SystemExit
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user