function log(...) log=io.open("A/log.txt", "a") log:write(string.format(...),"\n") log:close() end