LUA ERROR: sys/lua/cs2dtibia/mod.lua:23: attempt to call global 'isMod' (a nil value)
-> sys/lua/cs2dtibia/mod.lua:23: in function <sys/lua/cs2dtibia/mod.lua:22>
-> in Lua hook 'say', params: 1, '!s'
22 function modCommands(id,words)
23 if isMod(id) and words:sub(1,1) =='!' then
LUA ERROR: sys/lua/cs2dtibia/hooks.lua:346: bad argument #1 to 'time' (table expected, got number)
-> [C]: in function 'time'
-> sys/lua/cs2dtibia/hooks.lua:346: in function <sys/lua/cs2dtibia/hooks.lua:341>
341 function EXPminute()
342 MINUTES = MINUTES+1
343 MONSTERESET = 10
344 for i, v in ipairs(HOUSES) do
345 if v.owner then
346 local difftime = os.time(v.endtime, os.time())
I have the problem that I am chatting twice with the same message, I also tried to fix it but failed