Jump to content

Recommended Posts

Posted

I tried to get on computercraft forums but they are down with some bandwidth problem so i had to post here, ive been trying to make a simple mining program for my mining turtle but it gives me the same error all the time "bios:206: [string "mine"]:1: '=' expected".

My code is here:

while turtle.detectDown do

excavate 2

go up 5

turtle.drop(25)

end

Help would be appreciated, thank you. ~Bloxxer159

Posted

turtle.detectDown()

shell.run("excavate", 2)

shell.run("go", "up", 5)

And I have no clue what you think this will do. As it starts it will check below it, excavate a 2x2, go up 5 from it's starting point, drop 25 items from it's first slot and nothing else, then end the loop because it just went up so there can't be anything below it.

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...