From cdf9e42440aded117418471425e4e4b8a783986e Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 20 Apr 2007 22:02:21 +0000 Subject: [PATCH] imdb plugin: bring help up to speed with what the plugin offers --- data/rbot/plugins/imdb.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- 2.39.2