diff -r 89add07d6fe4 -r cca972635e5e mcbot/mcbot_shell.lua --- a/mcbot/mcbot_shell.lua Sun Apr 11 18:13:18 2010 +0200 +++ b/mcbot/mcbot_shell.lua Sun Apr 11 22:03:12 2010 +0200 @@ -3,10 +3,11 @@ require "mcbot_engine" local function mcbot_mainloop (BotName) + local data = { ["nickname"] = BotName } while true do local l = io.stdin:read'*l' if l == nil then break end - local res, errmsg = process(l, BotName, false) + local res, errmsg = process(l, data, false) if res then print(res) else