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

Trying a to make a shaft and search for ores

Started by meir21, 19 December 2012 - 11:56 PM
meir21 #1
Posted 20 December 2012 - 12:56 AM
Hello
i'm pretty new for all of this programing
just learned from some videos and websites
i started to make an automatic way to search for diamonds and some more ores
i just made a test for it not the whole program
and i kind of felt into a problem which i have no idea how to fix
this is the program: http://pastebin.com/BbtWi83s
it's turning to the left after it's coming back from diging an ore
please help me with that
good day :)/>
Kingdaro #2
Posted 20 December 2012 - 01:02 AM
If you're using a diamond, I might be wrong, but I think you have to have the actual diamond ore to do it.

Reading through the script, your programming style is a little funky, no offense, haha. Why do you have "do"s and extra "end"s?
meir21 #3
Posted 20 December 2012 - 01:05 AM
well i dont know i'm pretty noob, just try it like that and it worked, kind of. and i had the actual diamod ore the problem is after it turn back it searching on the left and not on the right