From: Giuseppe Bilotta Date: Thu, 4 Oct 2007 23:46:51 +0000 (+0000) Subject: quiz plugin: split top N tables at the name divisor X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=c8fc75ab7bbc7acc1690ebe7411d6f6fe9f47d26;hp=7dc90478a90c43ae1dde9332cc5e1ee282727f4e;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git quiz plugin: split top N tables at the name divisor --- diff --git a/data/rbot/plugins/games/quiz.rb b/data/rbot/plugins/games/quiz.rb index 37602fba..792b75ae 100644 --- a/data/rbot/plugins/games/quiz.rb +++ b/data/rbot/plugins/games/quiz.rb @@ -706,7 +706,7 @@ class QuizPlugin < Plugin score = player[1].score ar << "#{i + 1}. #{unhilight_nick( nick )} (#{score})" end - m.reply ar.join(" | ") + m.reply ar.join(" | "), :split_at => /\s+\|\s+/ end