This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
BeforeU's profile picture

Cobble Stone Farm

Started by BeforeU, 10 August 2013 - 09:47 AM
BeforeU #1
Posted 10 August 2013 - 11:47 AM
Hi i need program for mining turtle. I need program that only dig 1 block in front of turtle and looping until i want to stop it. I dont know how to programing so plz help me.
MR_nesquick #2
Posted 10 August 2013 - 11:56 AM

while true do  -- loops the program
turtle.dig()	 -- dig the block in front of it
sleep(.5)	   -- sleeps so the program doesn't yield'
end

hold down ctrl + t to quit the program.


ain't got time to learn away all the lua
BeforeU #3
Posted 10 August 2013 - 11:58 AM
Tank u so much