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

Help! Turtle Not Working!

Started by CaelTheCoder, 18 June 2015 - 04:46 PM
CaelTheCoder #1
Posted 18 June 2015 - 06:46 PM
Hi everyone! I have a turtle and I have refueled and chequed the turtle but when I move it says
lua:1: attempt to call nil
To show what my code looks like exactly I have a list of the code.
CraftOS 1.7
>refuel
Fuel is unlimeted
>lua
Interactive Lua Prompt.
Call exit() to exit.
lua>turtle.foward()
lua:1:1: attempt to call nil.
That is what it does
Please Help!
:unsure:/>
Cranium #2
Posted 18 June 2015 - 07:17 PM
turtle.forward(), not turtle.forward()

Edit: apparently I'm too good to purposefully misspell it :P/>
Edited on 18 June 2015 - 05:45 PM
Yevano #3
Posted 18 June 2015 - 07:30 PM
turtle.forward(), not turtle.forward()

Your post confused me for the longest time just now.
Dog #4
Posted 18 June 2015 - 07:42 PM
To clarify Cranium's post - you're missing an r in turtle.forward() (you typed turtle.foward() - note the missing 'r')
Cranium #5
Posted 18 June 2015 - 07:45 PM
I didn't even realize that I'd not misspelled it. That's hilarious.