Advertisement
Ignius12

Quarry Boot

Jan 23rd, 2020
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. rednet.open("top")
  2. local width, length, height = 0
  3. print("What width do you want?")
  4. width =tonumber(read())
  5. rednet.broadcast(width, "quarry")
  6. print("What length do you want?")
  7. length = tonumber(read())
  8. rednet.broadcast(length, "quarry")
  9. print("What is the world height of the turtle?")
  10. height = tonumber(read())
  11. rednet.broadcast(height, "quarry")
  12. print("Digging a quarry ", width, " wide and ", length, " long at the height ", height, " . Confirm? Y/N")
  13. rednet.broadcast(read(), "quarry")
  14. local s,m,p = rednet.receive()
  15. print(m)
  16. if(m == "Starting...") then
  17. while(m2 ~= "Complete!") do
  18. local s,m2,p = rednet.receive()
  19. print(m2)
  20. end
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement