lib/Zeta/plugins/russian_roulette.rb in zetabot-1.0.7 vs lib/Zeta/plugins/russian_roulette.rb in zetabot-1.1.0
- old
+ new
@@ -35,10 +35,10 @@
def russian(m)
return m.reply "I am sorry comrade, but I do not have pistol on me." unless m.channel.ops.include?(@bot)
return m.user.notice "Sorry comrade, but there is already game going on." if @games.include?(m.channel.name)
- # player setup
+ # player zeta_setup
player = m.user
# player = m.user if player == @bot
# be nice, don't force the game on the starter unless the user actually exists in the channel.
# return m.reply "I am terribly sorry %s, but I don't know %s." % [m.user.nick, player.nick] unless m.channel.users.include?(player)