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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...