Poorly the error is back again. The code:
local function ConvertInput()
if bm == "y" or bm == "yes" then
bm = true
Drop = 14
elseif bm == "n" or bm == "no" then
bm = false
Drop = 15
end
bm1 = tostring(bm)
print("bm = " .. bm1)
print("Drop =" .. Drop)
end
Before this is a read() command: bm = read()
The last three things are for testing, but shows everything is fine. The next thing:
local function Drop()
for i = 2,Drop do
turtle.select(i)
turtle.dropDown()
end
end
(They run in that order. Between is nothing that modifies this)
Still getting the "'for' limit must be a number" error
I also set a print(Drop) before the Drop() function. It shows 14 or 15 like it should.
If you need the whole code for some reason:
http://pastebin.com/pqz9MAMv (Waring: That's a big mess. Also it doesn't work yet, so don't run it)
I hope this time it's clear and that someone knows why this happens.