From: Giuseppe Bilotta Date: Fri, 20 Apr 2007 22:02:21 +0000 (+0000) Subject: imdb plugin: bring help up to speed with what the plugin offers X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=cdf9e42440aded117418471425e4e4b8a783986e;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git imdb plugin: bring help up to speed with what the plugin offers --- diff --git a/data/rbot/plugins/imdb.rb b/data/rbot/plugins/imdb.rb index 78060142..58684a72 100644 --- a/data/rbot/plugins/imdb.rb +++ b/data/rbot/plugins/imdb.rb @@ -393,7 +393,14 @@ class ImdbPlugin < Plugin :desc => "Whether searching movies by person/year should also return TV series") def help(plugin, topic="") - "imdb => search http://www.imdb.org for : prefix with 'name' or 'title' if you only want to search for people or films respectively, e.g.: imdb name ed wood" + case plugin + when "movies" + "movies by in [as ] => display the movies in the where which was ; can be one of actor, actress, director or anything: if it's omitted, the role is defined by the prefix: \"movies by ...\" implies director, \"movies with ...\" implies actor or actress; the years can be specified as \"in the 60s\" or as \"in 1953\"" + when /characters?/ + "character played by in => show the character played by in movie . characters in => show the actors and characters in movie " + else + "imdb => search http://www.imdb.org for : prefix with 'name' or 'title' if you only want to search for people or films respectively, e.g.: imdb name ed wood. see also movies and characters" + end end attr_reader :i