local time = os.time()
time = textutils.formatTime(time, true)
local side = "left"
term.clear()
term.setCursorPos(1,1)
print("Time: "..time)
if time >=8 and <=17 then
rs.setOutput(side, true)
print("Livestock acess granted")
sleep(2)
os.shutdown()
else
print("Unsafe at night!, return later!")
os.shutdown()
end
Hello
I really dont know how to get rid of the error and make the program work, any help please?











