Re-add coin landing on side/bot
This commit is contained in:
parent
b5c83eaf42
commit
a8ed5bd3c4
@ -2707,11 +2707,11 @@ def coin(cli, nick, chan, rest):
|
|||||||
cli.msg(chan, "\2{0}\2 tosses a coin into the air...".format(nick))
|
cli.msg(chan, "\2{0}\2 tosses a coin into the air...".format(nick))
|
||||||
var.LOGGER.logMessage("{0} tosses a coin into the air...".format(nick))
|
var.LOGGER.logMessage("{0} tosses a coin into the air...".format(nick))
|
||||||
coin = random.choice(["heads", "tails"])
|
coin = random.choice(["heads", "tails"])
|
||||||
#specialty = random.randrange(0,20)
|
specialty = random.randrange(0,20)
|
||||||
#if specialty == 0:
|
if specialty == 0:
|
||||||
# coin = "its side"
|
coin = "its side"
|
||||||
#if specialty == 1:
|
if specialty == 1:
|
||||||
# coin = botconfig.NICK
|
coin = botconfig.NICK
|
||||||
cmsg = "The coin lands on \2{0}\2.".format(coin)
|
cmsg = "The coin lands on \2{0}\2.".format(coin)
|
||||||
cli.msg(chan, cmsg)
|
cli.msg(chan, cmsg)
|
||||||
var.LOGGER.logMessage(cmsg)
|
var.LOGGER.logMessage(cmsg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user