CobraOs

turtle drop forward

Oct 25th, 2016
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rednet.open("right")
  2.  
  3. recieve = function()
  4. local senderId, message, protocol = rednet.receive()
  5. local senderId, message2, protocol = rednet.receive()
  6. turtle.select(tonumber(message2))
  7. turtle.drop(tonumber(message))
  8. end
  9.  
  10. fill = function()
  11. for i=1, 16 do
  12. turtle.suckDown()
  13. os.queueEvent("randomEvent")
  14. os.pullEvent()
  15. end
  16. end
  17.  
  18.  
  19. term.clear()
  20. term.setCursorPos(1,1)
  21. term.write(os.getComputerID())
  22. fill()
  23. recieve()
  24. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment