Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- local width, length, height = 0
- print("What width do you want?")
- width =tonumber(read())
- rednet.broadcast(width, "quarry")
- print("What length do you want?")
- length = tonumber(read())
- rednet.broadcast(length, "quarry")
- print("What height do you want?")
- height = tonumber(read())
- rednet.broadcast(height, "quarry")
- print("Digging a quarry ", width, " wide and ", length, " long at the height ", height, " . Confirm? Y/N")
- rednet.broadcast(read(), "quarry")
- local s,m,p = rednet.receive()
- print(m)
- if(m == "Starting...") then
- while(m2 ~= "Complete!") do
- local s,m2,p = rednet.receive()
- print(m2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement