diff options
author | Mark Kretschmann <markey@web.de> | 2006-08-31 15:58:19 +0000 |
---|---|---|
committer | Mark Kretschmann <markey@web.de> | 2006-08-31 15:58:19 +0000 |
commit | d9407a6d5a29d95afa179fae4b33dbee861ca6b4 (patch) | |
tree | d0a4a730b0206a74921e16a13c35cf5bc6b14ec4 /data/rbot/plugins | |
parent | 4cddd3dae754631efbf19ba897bf5392d734bbb2 (diff) |
Improve help.
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r-- | data/rbot/plugins/script.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/script.rb b/data/rbot/plugins/script.rb index bf8182ce..4509c71b 100644 --- a/data/rbot/plugins/script.rb +++ b/data/rbot/plugins/script.rb @@ -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 |