Jump to content

Recommended Posts

Posted

I don't know exactly where to put this, and I can't seem to get online on the ComputerCraft forums, but since ComputerCraft is a big part of Technic Pack, I assume everyone here knows a bit of Lua.

So, my problem is that on a line where I have "end" written, I get an error saying '=' expected.

Here's my code:

while turtle.detectDown()==false do

    turtle.digDown()

end

sleep(10)

turtle.suck()

while turtle.detectUp()==false do

    turtle.digUp

end

The problem is occuring on line 8 (last line).

Anybody who can help me, thank you very much! And if you are a moderator, please move my post to the correct topic (:

Thank you very much.

  • Forum Administrators
Posted

I really know nothing about computercraft but by looking at the code it looks like it should say turtle.digUp() not turtle.digUp

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...