summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/script.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/script.rb')
-rw-r--r--data/rbot/plugins/script.rb17
1 files changed, 11 insertions, 6 deletions
diff --git a/data/rbot/plugins/script.rb b/data/rbot/plugins/script.rb
index 3976517f..c091b586 100644
--- a/data/rbot/plugins/script.rb
+++ b/data/rbot/plugins/script.rb
@@ -1,12 +1,17 @@
-# Plugin for the Ruby IRC bot (http://linuxbrit.co.uk/rbot/)
+#-- vim:sw=2:et
+#++
#
-# Create mini plugins on IRC.
+# :title: Script plugin for rbot
+#
+# Author:: Mark Kretschmann <markey@web.de>
+# Copyright:: (C) 2006 Mark Kretschmann
+# License:: GPL v2
#
-# Scripts are little Ruby programs that run in the context of the script plugin. You
-# can create them directly in an IRC channel, and invoke them just like normal rbot plugins.
+# Create mini plugins on IRC.
#
-# (c) 2006 Mark Kretschmann <markey@web.de>
-# Licensed under GPL V2.
+# Scripts are little Ruby programs that run in the context of the script
+# plugin. You can create them directly in an IRC channel, and invoke them just
+# like normal rbot plugins.
Command = Struct.new( "Command", :code, :nick, :created, :channel )