summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/games/quiz.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/games/quiz.rb')
-rw-r--r--data/rbot/plugins/games/quiz.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/quiz.rb b/data/rbot/plugins/games/quiz.rb
index 96e2ad40..208846ed 100644
--- a/data/rbot/plugins/games/quiz.rb
+++ b/data/rbot/plugins/games/quiz.rb
@@ -300,7 +300,15 @@ class QuizPlugin < Plugin
def help( plugin, topic="" )
if topic == "admin"
- "Quiz game aministration commands (requires authentication): 'quiz autoask <on/off>' => enable/disable autoask mode. 'quiz autoask delay <secs>' => delay next quiz by <secs> seconds when in autoask mode. 'quiz transfer <source> <dest> [score] [jokers]' => transfer [score] points and [jokers] jokers from <source> to <dest> (default is entire score and all jokers). 'quiz setscore <player> <score>' => set <player>'s score to <score>. 'quiz setjokers <player> <jokers>' => set <player>'s number of jokers to <jokers>. 'quiz deleteplayer <player>' => delete one player from the rank table (only works when score and jokers are set to 0). 'quiz cleanup' => remove players with no points and no jokers."
+ _("Quiz game aministration commands (requires authentication): ") + [
+ _("'quiz autoask <on/off>' => enable/disable autoask mode"),
+ _("'quiz autoask delay <secs>' => delay next quiz by <secs> seconds when in autoask mode"),
+ _("'quiz transfer <source> <dest> [score] [jokers]' => transfer [score] points and [jokers] jokers from <source> to <dest> (default is entire score and all jokers)"),
+ _("'quiz setscore <player> <score>' => set <player>'s score to <score>"),
+ _("'quiz setjokers <player> <jokers>' => set <player>'s number of jokers to <jokers>"),
+ _("'quiz deleteplayer <player>' => delete one player from the rank table (only works when score and jokers are set to 0)"),
+ _("'quiz cleanup' => remove players with no points and no jokers")
+ ].join(". ")
else
urls = @bot.config['quiz.sources'].select { |p| p =~ /^https?:\/\// }
"A multiplayer trivia quiz. 'quiz' => ask a question. 'quiz hint' => get a hint. 'quiz solve' => solve this question. 'quiz skip' => skip to next question. 'quiz joker' => draw a joker to win this round. 'quiz score [player]' => show score for [player] (default is yourself). 'quiz top5' => show top 5 players. 'quiz top <number>' => show top <number> players (max 50). 'quiz stats' => show some statistics. 'quiz fetch' => refetch questions from databases. 'quiz refresh' => refresh the question pool for this channel." + (urls.empty? ? "" : "\nYou can add new questions at #{urls.join(', ')}")