Untitled


SUBMITTED BY: Guest

DATE: Dec. 11, 2013, 6:04 a.m.

FORMAT: Text only

SIZE: 632 Bytes

HITS: 798

  1. advanced wireless sheering turtle
  2. edit shearhttp://pastebin.com/
  3. rednet.open("right")
  4. local id
  5. local mess
  6. local dist
  7. function shear()
  8. turtle.attack()
  9. turtle.dropUp()
  10. turtle.turnRight()
  11. end
  12. while true do
  13. term.clear()
  14. term.setCursorPos(1,1)
  15. print("My name is Bob and your going to get sheared")
  16. id, mess, dist = rednet.recieve()
  17. if id == 2 and mess == "shear" then
  18. for i = 1,4 do
  19. shear()
  20. end
  21. end

comments powered by Disqus