Posted 14 June 2013 - 02:05 PM
lines 12 -16:
turtle.forward()
turtle.placeDown()
if false then
s + 1 = s
turtle.select(s)
end
This program is really long and its on multiplayer in tekkit classic so I don't have pastebin or the files so I can't copy the thing.
It's a building program and I'm trying to get it so that when "s" the slot its on runs out of material, so placing is false, then to switch to the next slot, and the slot after that if it can't place again.
turtle.forward()
turtle.placeDown()
if false then
s + 1 = s
turtle.select(s)
end
This program is really long and its on multiplayer in tekkit classic so I don't have pastebin or the files so I can't copy the thing.
It's a building program and I'm trying to get it so that when "s" the slot its on runs out of material, so placing is false, then to switch to the next slot, and the slot after that if it can't place again.