8 posts
Location
Infront of a Turtle
Posted 18 December 2012 - 05:51 AM
Whenever you use the program go with turtles, you type the direction, and how many times it loops in the program name, how can I get my code to look for input in the program name? I've spent my whole day looking for an answer, so I'm pretty sure this is the last chance saloon for this. I dont have code for it because my code that I want to write relies on this.
2088 posts
Location
South Africa
Posted 18 December 2012 - 06:34 AM
Using Arguments which you store into a table.
Args = {...}
length = Args[1] -- the first argument in the name that you input
direction = Args[2] -- the second argument in the name that you input
-- etc...
It's that simple :)/>
8 posts
Location
Infront of a Turtle
Posted 08 June 2013 - 08:15 PM
i gathered that i need arguments i wasnt sure, and i dont even know how to use them, i am sorry im a complete noob.
167 posts
Posted 08 June 2013 - 08:34 PM
Well what is your program going to do?
8 posts
Location
Infront of a Turtle
Posted 10 June 2013 - 06:49 PM
my world got corrupted before i could use it, but it was for enchanting things. apparently its one of those freak things…. ftb has corrupted 5 of my worlds so far, thats 5 more for me than the average joe…..