Hey,
I haven't worked with Lua in a while and recently my friends and I started a new modded game. I'm currently trying to require another file from another, and to my knowledge have done it to how the syntax describes. However, OpenOS is giving me an error stating the following:
However, when running the cd command it states that core.lua does indeed exist in the directory /home/
This is my code:
-- core.lua
function catch(inp)
return inp[1]
end
function try(inp)
status, res = pcall(inp[1])
if not status then
inp[2](res)
end
return res
end
-- test.lua
f