Advertisement
Th3Tom

ftb_test

Nov 21st, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. while true do
  2.  
  3. rs.setOutput("back", false)
  4. rs.setOutput("right", false)
  5.  
  6. local b,a = turtle.inspect()
  7. local c = true
  8.  
  9. while c do
  10. b,a = turtle.inspect()
  11. if a["name"] == "IC2:blockIronScaffold" then
  12. c = false
  13. end
  14. end
  15.  
  16. --print("asdf")
  17. rs.setOutput("back", true)
  18. sleep(0.8)
  19. rs.setOutput("back", false)
  20.  
  21. local b,a = turtle.inspect()
  22. local c = true
  23.  
  24. while c do
  25. b,a = turtle.inspect()
  26. if a["name"] == "IC2:blockReinforcedFoam" then
  27. c = false
  28. end
  29. end
  30.  
  31. rs.setOutput("right", true)
  32. sleep(0.8)
  33. rs.setOutput("right", false)
  34.  
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement