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

program wont work

Started by debook454, 10 December 2012 - 06:38 AM
debook454 #1
Posted 10 December 2012 - 07:38 AM
my program wont work ): i have tekkit 3.1.2 and it just says attempt to call nil. this is th firs time i wrote a program plz help

for x = 1,60 do
turtle.dig()
turtle.foward()
turtle.digdown()
turtle.turnleft()
turtle.dig()
for v = 1,2 do
turtle.turnright()
end
turtle.dig()
turtle.down()
turtle.digdown()
turtle.dig()
for w = 1,2 do
turtle.turnleft()
end
turtle.dig()
turtle.down()
turtle.dig()
for b = 1,2 do
turtle.turnright()
end
turtle.dig()
turtle.turnleft()
turtle.up()
end
debook454 #2
Posted 10 December 2012 - 07:41 AM
nvm i pasted it in a word doc and found forward is spelled with an r
PixelToast #3
Posted 10 December 2012 - 07:42 AM
well first of all, your using tekkit wich is over 5 versions behind, many features have been added sence then

anyway, functions like

turtle.digDown()
turtle.digUp()
turtle.turnLeft()
turtle.turnRight()
are case sensitive

nvm i pasted it in a word doc and found forward is spelled with an r
it still wont work if they arent capitalized properly
debook454 #4
Posted 10 December 2012 - 08:33 AM
Ty (:
snoble2022 #5
Posted 10 December 2012 - 09:53 AM
ummm… Wow, this was funny. I found out forward was spelled with a r. ;0
Lyqyd #6
Posted 10 December 2012 - 11:45 AM
ummm… Wow, this was funny. I found out forward was spelled with a r. ;0

If you don't have anything useful to add, don't bother replying, please.