Posted 30 November 2013 - 03:22 PM
I'm working on learning lua and I've got a path paving program that I made. All 700 lines of code are good expect for this one function I can't figure out what is wrong with it.
Here is the function:
line 308: '=' expected near 'sleep'
Any help on how to fix this would be great.
Here is the function:
function importFill()
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--imports more fill blocks
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
placeIChest()
turtle.select(SpaceWithBlock)
turtle.suckUp
sleep(1)
removeIChest()
end
line 308: '=' expected near 'sleep'
Any help on how to fix this would be great.