79689235

Date: 2025-07-03 17:15:41
Score: 1
Natty:
Report link

I think that what they want is a command that restarts the program and runs the main loop so something like this would work better:

local cmd = io.read()
if cmd == "exit" then
dofile("thisfilename.lua")
end

I have been making simelar it isn't perfect but works

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: LeoMDEV