Posted 28 November 2015 - 08:46 PM
I was making a program for my minecarts and then when i put this loop
local x = 15
if x = 15 and turtle.detect()==true
then do throwAway() – this is one of my functions above, I know this works
else do turtle.detect()
When i run this it shows me the error
bios:14: [string ".temp"]:27: 'then' expected. if someone could help that would be awesome.
local x = 15
if x = 15 and turtle.detect()==true
then do throwAway() – this is one of my functions above, I know this works
else do turtle.detect()
When i run this it shows me the error
bios:14: [string ".temp"]:27: 'then' expected. if someone could help that would be awesome.