Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- rs.setOutput("back", false)
- rs.setOutput("right", false)
- local b,a = turtle.inspect()
- local c = true
- while c do
- b,a = turtle.inspect()
- if a["name"] == "IC2:blockIronScaffold" then
- c = false
- end
- end
- --print("asdf")
- rs.setOutput("back", true)
- sleep(0.8)
- rs.setOutput("back", false)
- local b,a = turtle.inspect()
- local c = true
- while c do
- b,a = turtle.inspect()
- if a["name"] == "IC2:blockReinforcedFoam" then
- c = false
- end
- end
- rs.setOutput("right", true)
- sleep(0.8)
- rs.setOutput("right", false)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement