From 3196b989866d1f136e9eb16d688bb0680bbfca9b Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Fri, 12 Aug 2005 19:51:53 +0000 Subject: some tweaks --- data/rbot/plugins/math.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data') diff --git a/data/rbot/plugins/math.rb b/data/rbot/plugins/math.rb index 4a207389..09e3ed3f 100644 --- a/data/rbot/plugins/math.rb +++ b/data/rbot/plugins/math.rb @@ -22,6 +22,9 @@ class MathPlugin < Plugin "ten" => "10" }; + def name + "math" + end def help(plugin, topic="") "math , evaluate mathematical expression" end @@ -120,3 +123,4 @@ class MathPlugin < Plugin end plugin = MathPlugin.new plugin.register("math") +plugin.register("maths") -- cgit v1.2.3