diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-03-08 00:07:05 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-03-08 00:07:05 +0100 |
commit | 42704b6f5ab3ed9c3451b7fabee40d51d048a76f (patch) | |
tree | c7e1d3f1389c7484ff2791c9dcbe254e7258a795 | |
parent | 87a905b01dab90acd2e62975ac180e14b41f3eb8 (diff) |
keywords plugin: document some more features in help
-rw-r--r-- | data/rbot/plugins/keywords.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/data/rbot/plugins/keywords.rb b/data/rbot/plugins/keywords.rb index 8671e32f..58fcfe9b 100644 --- a/data/rbot/plugins/keywords.rb +++ b/data/rbot/plugins/keywords.rb @@ -325,6 +325,12 @@ class Keywords < Plugin case plugin when /keyword/ case topic + when 'export' + 'keyword export => exports definitions to keyword_factoids.rbot' + when 'stats' + 'keyword stats => show statistics about static facts' + when 'wipe' + 'keyword wipe <keyword> => forgets everything about a keyword' when 'lookup' 'keyword [lookup] <keyword> => look up the definition for a keyword; writing "lookup" is optional' when 'set' @@ -348,7 +354,7 @@ class Keywords < Plugin when '<topic>' '<topic> => respond by setting the topic to the rest of the definition' else - 'keyword module (fact learning and regurgitation) topics: lookup, set, forget, tell, search, listen, address, <reply>, <action>, <who>, <topic>' + 'keyword module (fact learning and regurgitation) topics: lookup, set, forget, tell, search, listen, address, stats, export, wipe, <reply>, <action>, <who>, <topic>' end when "forget" 'forget <keyword> => forget a keyword' |