1 class CalPlugin < Plugin
2 def help(plugin, topic="")
3 "cal [options] => show current calendar [unix cal options]"
6 if m.params && m.params.length > 0
7 m.reply Utils.safe_exec("cal", m.params)
9 m.reply Utils.safe_exec("cal")
13 plugin = CalPlugin.new
14 plugin.register("cal")