Posted 25 December 2012 - 11:25 AM
so i wanted to make a short mineing program but i cant get it to work
im doing something wrong but what, please help,
local input = read()
fuellevel = turtle.getFuelLevel()
if fuellevel<input
then
print("need refuel")
else
Print("Mineing")
--Function goes here
end
when I test it it says
mine: 5: attempt to compare sting with
number expected, got string
im doing something wrong but what, please help,