elhartman Posted July 28, 2012 Share Posted July 28, 2012 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 More sharing options...
Forum Administrators sct Posted July 28, 2012 Forum Administrators Share Posted July 28, 2012 I really know nothing about computercraft but by looking at the code it looks like it should say turtle.digUp() not turtle.digUp Link to comment Share on other sites More sharing options...
elhartman Posted July 28, 2012 Author Share Posted July 28, 2012 Well that was a simple fix. That seemed to be the problem! Thanks for the help! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now