diff options
author | Tom Gilbert <tom@linuxbrit.co.uk> | 2006-08-06 22:47:08 +0000 |
---|---|---|
committer | Tom Gilbert <tom@linuxbrit.co.uk> | 2006-08-06 22:47:08 +0000 |
commit | e959d056e9ac9fdf64b7d719a05f29290b7e37a9 (patch) | |
tree | 64b2addb620fb58fe5f1ab9f819cc5ecf1f3308a | |
parent | 9494db62bae37b36b8300f03669f43da87f462cc (diff) |
why do we have 2 figlets?
-rw-r--r-- | data/rbot/contrib/plugins/figlet.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/data/rbot/contrib/plugins/figlet.rb b/data/rbot/contrib/plugins/figlet.rb deleted file mode 100644 index ce17fe71..00000000 --- a/data/rbot/contrib/plugins/figlet.rb +++ /dev/null @@ -1,20 +0,0 @@ -class FigletPlugin < Plugin - def help(plugin, topic="") - "figlet [<message>] => print using figlet" - end - def privmsg(m) - case m.params - when nil - m.reply "incorrect usage: " + help(m.plugin) - return - when (/^-/) - m.reply "incorrect usage: " + help(m.plugin) - return - else - m.reply Utils.safe_exec("/usr/bin/figlet", "-k", "-f", "mini", m.params) - return - end - end -end -plugin = FigletPlugin.new -plugin.register("figlet") |