This is my code:
if turtle.getItemSpace(2) >= input then
for i=1,amount do
place()
button()
mine()
end
else
print("Not enough redstone!")
end
I'm always getting one of two errors: "Attempt to call table" or "Attempt to compare __le on table and string." For reference, I'm keeping redstone in slot 2 and trying to make sure there is enough of it for the obsidian request.
Edited by pieisnotpi, 23 March 2014 - 01:01 AM.












