Jump to content




Looping Programs?


  • You cannot reply to this topic
1 reply to this topic

#1 king224

  • New Members
  • 1 posts

Posted 30 June 2014 - 03:05 AM

So I've recently written a simple program for a felling turtle to,well, cut down a Spruce Tree, I have gotten everything working up to this point. i need the turtle to forever (until terminated) repeat this program that I've simply named "spruce". I'm tried "while true do spruce end" (without quotations and in lua,of course) but it just hasn't worked. Craft OS 1.5 help only please.

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 30 June 2014 - 03:39 AM

Instead of the word "spruce", try sticking the rest of your script into that "while" loop.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users