The file is called 'MTStairs' and it is on a disk name 'Turtles' in my disk drive and my turtle should sit beside the disk drive until I say MTStairs after I change my directory to 'disk' but when I do that, it doesnt give me an error all it does is sit there doing nothing and I cant type anything and I have to terminate it. I did once let it sit there for about 5 minutes but still nothing happened and I still had to terminate it. If you could help it would be much appreciated.
local block, data = turtle.inspectDown() local bottom, name = 'minecraft:bedrock' function stop() if bottom then print('Block name: ', data.name) os.reboot() end end function refuel() if turtle.getFuelLevel() < 10 then turtle.select(1) turtle.refuel(1) end end function moving() turtle.dig() turtle.digDown() turtle.down() turtle.dig() turtle.forward() end function staircase() while moving() do stop() refuel() end end while true do staircase() end