2 posts
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
56 posts
Location
Victoria, AUS
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.
8543 posts
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).
3 posts
Posted 10 November 2012 - 10:14 PM
The code is easy but in that code you need to delete end :unsure:/>/>