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

i need help with my mining program

Started by sneed, 19 August 2017 - 07:23 PM
sneed #1
Posted 19 August 2017 - 09:23 PM
So i have recently been starting to make turtle programms, so i am not that good at it.
Right now i am trying to make a programm that should find diamonds.
I am not that far with it right now because i have some problems with the turtle.inspect command.
I am playing on ftb lite v1.2.3 minecraft v.1.4.7 thats the code so far:
https://pastebin.com/Ejz8Y0VT

I hope that somebody will help me.
Kind regards
Sneed
Lyqyd #2
Posted 19 August 2017 - 10:57 PM
The function turtle.inspect did not exist in such an ancient version of the mod. You can check the wiki for the minimum version requirement.
sneed #3
Posted 20 August 2017 - 12:29 PM
Alright i upgraded to a newer version now, but how can I get it to work with inspect now?
Bomb Bloke #4
Posted 21 August 2017 - 02:04 AM
if success then AND t.name == searchedBlock then

if success and t.name == searchedBlock then