# File rbot/keywords.rb, line 311 def help(topic="") case topic when "overview" return "set: <keyword> is <definition>, overide: no, <keyword> is <definition>, add to definition: <keyword> is also <definition>, random responses: <keyword> is <definition> | <definition> [| ...], plurals: <keyword> are <definition>, escaping: \\is, \\are, \\|, specials: <reply>, <action>, <who>" when "set" return "set => <keyword> is <definition>" when "plurals" return "plurals => <keywords> are <definition>" when "override" return "overide => no, <keyword> is <definition>" when "also" return "also => <keyword> is also <definition>" when "random" return "random responses => <keyword> is <definition> | <definition> [| ...]" when "get" return "asking for keywords => (with addressing) \"<keyword>?\", (without addressing) \"'<keyword>\"" when "tell" return "tell <nick> about <keyword> => if <keyword> is known, tell <nick>, via /msg, its definition" when "forget" return "forget <keyword> => forget fact <keyword>" when "keywords" return "keywords => show current keyword counts" when "<reply>" return "<reply> => normal response is \"<keyword> is <definition>\", but if <definition> begins with <reply>, the response will be \"<definition>\"" when "<action>" return "<action> => makes keyword respnse \"/me <definition>\"" when "<who>" return "<who> => replaced with questioner in reply" when "<topic>" return "<topic> => respond by setting the topic to the rest of the definition" else return "Keyword module (Fact learning and regurgitation) topics: overview, set, plurals, override, also, random, get, tell, forget, keywords, <reply>, <action>, <who>, <topic>" end end