Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function wait()
- rednet.open("right")
- x,y,z = rednet.receive()
- print(y)
- if y=="place" then
- place()
- elseif y=="pick" then
- pick()
- end
- end
- function place()
- turtle.select(1)
- turtle.place()
- wait()
- end
- function pick()
- turtle.dig()
- wait()
- end
- wait()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement