Add command tvcal
authorMikael Berthe <mikael@lilotux.net>
Sun, 18 Apr 2010 23:42:12 +0200
changeset 35 1fba2631c743
parent 34 ca01a1696cff
child 36 2aedd0749666
Add command tvcal
mcbot/cmds/help.lua
mcbot/mcbot_engine.lua
--- a/mcbot/cmds/help.lua	Sun Apr 18 21:47:05 2010 +0200
+++ b/mcbot/cmds/help.lua	Sun Apr 18 23:42:12 2010 +0200
@@ -4,6 +4,7 @@
 function help.cmd (args)
     local r = ""
 
+    -- Function from PIL
     local function pairsByKeys (t, f)
         local a = {}
         for n in pairs(t) do table.insert(a, n) end
--- a/mcbot/mcbot_engine.lua	Sun Apr 18 21:47:05 2010 +0200
+++ b/mcbot/mcbot_engine.lua	Sun Apr 18 23:42:12 2010 +0200
@@ -32,6 +32,7 @@
 require "cmds.mcabber_bts"
 require "cmds.bofh"
 require "cmds.xmpp"
+require "cmds.tvcal"
 
 function process (line, botdata, muc, cmdprefix)
     local n