]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Improve help.
authorMark Kretschmann <markey@web.de>
Thu, 31 Aug 2006 15:58:19 +0000 (15:58 +0000)
committerMark Kretschmann <markey@web.de>
Thu, 31 Aug 2006 15:58:19 +0000 (15:58 +0000)
data/rbot/plugins/script.rb

index bf8182cee98eb06e1d82141fa4e462db793509f2..4509c71b08dabc0d08243b4aba66cc663ff62f88 100644 (file)
@@ -33,7 +33,7 @@ class ScriptPlugin < Plugin
     if topic == "add"
       "Scripts are little Ruby programs that run in the context of the script plugin. You can access @bot (class IrcBot), m (class PrivMessage), user (class String, either the first argument, or if missing the sourcenick), and args (class Array, an array of arguments). Example: 'script add greet m.reply( 'Hello ' + user )'. Invoke the script just like a plugin: '<botnick>: greet'."
     else  
-      "Create mini plugins on IRC. 'script add <name> <code>' => Create script named <name> with the code <source>. 'script list' => Show a list of all known scripts. 'script show <name>' => Show the source code for <name>. 'script del <name>' => Delete the script <name>."
+      "Create mini plugins on IRC. 'script add <name> <code>' => Create script named <name> with the Ruby program <code>. 'script list' => Show a list of all known scripts. 'script show <name>' => Show the source code for <name>. 'script del <name>' => Delete the script <name>."
     end
   end