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

[Question]How to compare the block at the side if it's a specific number?

Started by heromantf, 29 July 2012 - 12:57 PM
heromantf #1
Posted 29 July 2012 - 02:57 PM
I want to compare to check if it's an ore or something else blocks,also i need to know if the wheat is mature.plz help me
sjele #2
Posted 29 July 2012 - 03:05 PM
You can only compare block if it has it in the slot thats selected.

turtle.select ("3") 
turtle.compare ()    -- This would check if the block is equal to what it has in slot 3.

end
heromantf #3
Posted 29 July 2012 - 03:31 PM
thank you for your help.but i cant use this way to know if the wheat is mature