term.write(How high? ) high = read()
But then, when I try to compare it, say
if high < z then turtle.digUp() turtle.up() turtle.digUp() turtle.up() turtle.digUp() turtle.up() z = z+3 end
It says that it tried to compare it as a number but got a string. Is there something I can do to fix it?
(I know using it as a for loop will work, but I need it to go up in 3 intervals. the full code is here: http://pastebin.com/mBtMczFJ
Note: The code is messy and flawed as I have been having many problems (mostly from just this one thing) with the code, and I may have some unnecessary variables or code that I was using and forgot to get rid of.











