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

go :1: attempt to call nil turtle

Started by rauf543, 09 November 2012 - 08:56 PM
rauf543 #1
Posted 09 November 2012 - 09:56 PM
go :1: attempt to call nil whenever in my turtle i do do i copied tat from the tut but i do the same think i did it like 3 times already please help using mining turtle
turtle.dig()
turtle.digDown()
turtle.down()
turtle.dig()
turtle.forward()
turtle.turnLeft()
end
chiloxsan #2
Posted 09 November 2012 - 10:02 PM
Remove the end at the end of your code. You only need end when closing blocks like for, if, when and function.
Lyqyd #3
Posted 10 November 2012 - 08:55 AM
That code looks fine. Did you copy and paste the actual code you're using, or did you retype it? Try copying and pasting the code (or making sure to retype it character for character, exactly) and putting the whole program in a forum code block (using the [code][/code] tags).
TechWorm #4
Posted 10 November 2012 - 10:14 PM
The code is easy but in that code you need to delete end :unsure:/>/>