Posted 20 December 2013 - 11:51 PM
Hey guys! I'm a brand new user of ComputerCraft and I need some help. I created a program to mine tree's but it doesn't seem to be working. I'll put a link to a video I made of the program and a copy of the program itself. Thanks so much for your help!
Here is the video link: http://www.youtube.com/watch?v=xZ9IcgkAbps
And the code:
while not turtle.detectUp() do
turtle.dig()
turtle.up()
end
while turtle.detectUp() do
turtle.digUp()
turtle.up()
end
while not turtle.compareTo(1) do
turtle.down()
end
while turtle.compareTO(1) do
turtle.dig()
turtle.down()
end
Thanks for all your help!!
Here is the video link: http://www.youtube.com/watch?v=xZ9IcgkAbps
And the code:
while not turtle.detectUp() do
turtle.dig()
turtle.up()
end
while turtle.detectUp() do
turtle.digUp()
turtle.up()
end
while not turtle.compareTo(1) do
turtle.down()
end
while turtle.compareTO(1) do
turtle.dig()
turtle.down()
end
Thanks for all your help!!