From 5ebe5c74cbc88ed6dec78860a646b8e077abefb2 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 20 Sep 2007 13:49:18 +0000 Subject: [PATCH] reaction plugin: update help --- data/rbot/plugins/reaction.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/data/rbot/plugins/reaction.rb b/data/rbot/plugins/reaction.rb index 448794b2..28d9f306 100644 --- a/data/rbot/plugins/reaction.rb +++ b/data/rbot/plugins/reaction.rb @@ -155,6 +155,8 @@ class ReactionPlugin < Plugin "seek help for reaction trigger, reaction reply and reaction chance for more details" end case (topic.to_sym rescue nil) + when :add + help(:react) when :remove, :delete, :rm, :del "reaction #{topic} => removes the reaction to expression " when :chance, :chances @@ -173,8 +175,10 @@ class ReactionPlugin < Plugin "stuff (everything that follows the trigger), match (the actual matched text)" when :list "reaction list [n]: lists the n-the page of programmed reactions (30 reactions are listed per page)" + when :show + "reaction show : list the programmed replies to trigger " else - "reaction topics: add, remove, delete, rm, del, triggers, replies, list" + "reaction topics: add, remove, delete, rm, del, triggers, replies, chance, list, show" end end -- 2.39.5