From d9407a6d5a29d95afa179fae4b33dbee861ca6b4 Mon Sep 17 00:00:00 2001 From: Mark Kretschmann Date: Thu, 31 Aug 2006 15:58:19 +0000 Subject: [PATCH] Improve help. --- data/rbot/plugins/script.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: ': greet'." else - "Create mini plugins on IRC. 'script add ' => Create script named with the code . 'script list' => Show a list of all known scripts. 'script show ' => Show the source code for . 'script del ' => Delete the script ." + "Create mini plugins on IRC. 'script add ' => Create script named with the Ruby program . 'script list' => Show a list of all known scripts. 'script show ' => Show the source code for . 'script del ' => Delete the script ." end end -- 2.39.2