From de6efcb1d676788f18021fa176caf87e2a5563f7 Mon Sep 17 00:00:00 2001 From: Spencer Rinehart Date: Thu, 18 Dec 2008 15:42:13 -0500 Subject: uno: Mark all uno commands replied. --- data/rbot/plugins/games/uno.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb index 84420631..a86c33db 100644 --- a/data/rbot/plugins/games/uno.rb +++ b/data/rbot/plugins/games/uno.rb @@ -880,6 +880,7 @@ class UnoPlugin < Plugin return unless @games.key?(m.channel) return unless m.plugin # skip messages such as: botname, g = @games[m.channel] + replied = true case m.plugin.intern when :jo # join game return if m.params @@ -945,7 +946,10 @@ class UnoPlugin < Plugin else g.show_turn(:cards => false) end + else + replied=false end + m.replied=true if replied end def create_game(m, p) -- cgit v1.2.3