|
|
@ -126,7 +126,7 @@ def mass_mode(cli, md): |
|
|
|
ei = 4 # len(z) |
|
|
|
ei = 4 # len(z) |
|
|
|
# Now z equal something like [('+v', '-v'), ('asdf', 'wobosd')] |
|
|
|
# Now z equal something like [('+v', '-v'), ('asdf', 'wobosd')] |
|
|
|
arg1 = "".join(z[0]) |
|
|
|
arg1 = "".join(z[0]) |
|
|
|
arg2 = " ".join(z[1]) + " " + " ".join([x+"!*@*" for x in z[1]]) |
|
|
|
arg2 = " ".join(z[1]) # + " " + " ".join([x+"!*@*" for x in z[1]]) |
|
|
|
cli.mode(botconfig.CHANNEL, arg1, arg2) |
|
|
|
cli.mode(botconfig.CHANNEL, arg1, arg2) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -154,7 +154,7 @@ def reset(cli): |
|
|
|
for plr in var.list_players(): |
|
|
|
for plr in var.list_players(): |
|
|
|
cmodes.append(("-v", plr)) |
|
|
|
cmodes.append(("-v", plr)) |
|
|
|
for deadguy in var.DEAD: |
|
|
|
for deadguy in var.DEAD: |
|
|
|
cmodes.append(("-q", deadguy)) |
|
|
|
cmodes.append(("-q", deadguy+"!*@*")) |
|
|
|
mass_mode(cli, cmodes) |
|
|
|
mass_mode(cli, cmodes) |
|
|
|
var.DEAD = [] |
|
|
|
var.DEAD = [] |
|
|
|
|
|
|
|
|
|
|
@ -845,7 +845,7 @@ def del_player(cli, nick, forced_death = False, devoice = True): |
|
|
|
if var.PHASE != "join" and ret: |
|
|
|
if var.PHASE != "join" and ret: |
|
|
|
# Died during the game, so quiet! |
|
|
|
# Died during the game, so quiet! |
|
|
|
if not is_fake_nick(nick): |
|
|
|
if not is_fake_nick(nick): |
|
|
|
cmode.append(("+q", nick)) |
|
|
|
cmode.append(("+q", nick+"!*@*")) |
|
|
|
mass_mode(cli, cmode) |
|
|
|
mass_mode(cli, cmode) |
|
|
|
if nick not in var.DEAD: |
|
|
|
if nick not in var.DEAD: |
|
|
|
var.DEAD.append(nick) |
|
|
|
var.DEAD.append(nick) |
|
|
|