summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-04-20 22:02:21 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-04-20 22:02:21 +0000
commitcdf9e42440aded117418471425e4e4b8a783986e (patch)
tree0aa47d56b2e69fa16f0a32be3f9c8302e75dfe32
parent5a1e2b5d174ba11073ff122530b29488185366c0 (diff)
imdb plugin: bring help up to speed with what the plugin offers
-rw-r--r--data/rbot/plugins/imdb.rb9
1 files changed, 8 insertions, 1 deletions
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 <string> => search http://www.imdb.org for <string>: prefix <string> 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 <who> in <years> [as <role>] => display the movies in the <years> where which <who> was <role>; <role> 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 <who> in <movie> => show the character played by <who> in movie <movie>. characters in <movie> => show the actors and characters in movie <movie>"
+ else
+ "imdb <string> => search http://www.imdb.org for <string>: prefix <string> 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