Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for j=1,args[1],1 do
- print(" start of j = ",j)
- for i=1,args[1],1 do
- turtle.select(9)
- turtle.dig()
- if i==tonumber(args[1]) then
- if j==tonumber(args[i]) then
- turn(__add(j,1)) --if it's an odd number it turns one way if it's even it turns the other
- --I never get into this if statement
- else
- turn(j)
- end
- else
- turtle.forward()
- end
- placeBlockDown()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement