Re-add coin landing on side/bot

This commit is contained in:
nyuszika7h 2013-08-29 23:20:24 +02:00
parent b5c83eaf42
commit a8ed5bd3c4

View File

@ -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)