This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
meeko011's profile picture

bios 206 {string "wall"]:14: '=' expected

Started by meeko011, 14 June 2013 - 12:05 PM
meeko011 #1
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.
jakemg #2
Posted 14 June 2013 - 02:12 PM
s + 1 = s should be
s = s + 1
meeko011 #3
Posted 14 June 2013 - 02:16 PM
It was that easy? Oh my god thanks.