Jump to content




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


2 replies to this topic

#1 meeko011

  • Members
  • 31 posts

Posted 14 June 2013 - 01: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.

#2 jakemg

  • Members
  • 88 posts

Posted 14 June 2013 - 01:12 PM

s + 1 = s should be
s = s + 1

#3 meeko011

  • Members
  • 31 posts

Posted 14 June 2013 - 01:16 PM

It was that easy? Oh my god thanks.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users