Posted 14 March 2016 - 11:52 PM
I am currently trying to make a somewhat advanced program and so far I've been doing okay. That is, until recently I hit a snag. I am getting the error message "bios:14: [string "ekT5pKm0"]:37: '=' expected
The part of the script that is getting the error is
I have the local variables set up, so it's not that. The link to the full script is below.
The part of the script that is getting the error is
print("Refuelling")
if 20000 - CurrentFuel >= 5000 then
print("Low on fuel. Refilling until at 5000 fuel.")
print(CurrentFuel)
turtle.refuel
else
print("All fueled up.")
I have the local variables set up, so it's not that. The link to the full script is below.