Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- h = fs.open("currentPiece","r")
- piece = h.readLine()
- h.close()
- if piece ~= "" then
- shell.run("goStart")
- shell.run("demolish",piece)
- shell.run("goHome")
- end
- h = fs.open("currentPiece","w")
- h.write("")
- h.close()
Advertisement
Add Comment
Please, Sign In to add comment