Jump to content

ComputerCraft '=' expected help


Recommended Posts

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.

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...