# HG changeset patch # User Mikael Berthe # Date 1271626932 -7200 # Node ID 1fba2631c743614ef164c9ab21de3e06d019e3c0 # Parent ca01a1696cff89a96573edf15704bbb1520d57bd Add command tvcal diff -r ca01a1696cff -r 1fba2631c743 mcbot/cmds/help.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 diff -r ca01a1696cff -r 1fba2631c743 mcbot/mcbot_engine.lua --- 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