Posted 25 March 2013 - 04:47 AM
Hello,
This thread is orientated to beginners with LUA. So if someone posts an idea thats hard, I will get you started but will not finish it.
If you have questions about your program that has not been written by me, go ahead and use the Ask A Pro section.
However if you have a question about a program thats been written by me, go ahead and ask them!
The main goal of this thread is to get beginners started. I will write simple scripts, explain it and link them to wiki, specifically the section where you find the API wich I used.
One important rule:
Do not keep posting the same request over and over, and per member 2 requests max.
My goal is to write 1 or 2 scripts per day, so if your request is not done, then it will be soon.
I will do post by post, by that I mean that I that I will go off the list of requests. You will be PM'ed if your request is taken care of, but I post the program in this thread.
An example:
Hope you guys can learn something from this!
- Engineer
This thread is orientated to beginners with LUA. So if someone posts an idea thats hard, I will get you started but will not finish it.
If you have questions about your program that has not been written by me, go ahead and use the Ask A Pro section.
However if you have a question about a program thats been written by me, go ahead and ask them!
The main goal of this thread is to get beginners started. I will write simple scripts, explain it and link them to wiki, specifically the section where you find the API wich I used.
One important rule:
Do not keep posting the same request over and over, and per member 2 requests max.
My goal is to write 1 or 2 scripts per day, so if your request is not done, then it will be soon.
I will do post by post, by that I mean that I that I will go off the list of requests. You will be PM'ed if your request is taken care of, but I post the program in this thread.
An example:
How can you make a script that displays the time at the right time?
Ans:
The following sites wich I have used:
http://computercraft.info/wiki/OS_(API)
http://computercraft.../wiki/Term_(API)while true do -- Create infinite loop term.setCursorPos(1,1) -- Set the cursor position term.clearLine() -- clear the current line ( y value from term.getCursorPos() ) print( os.time() ) -- print out the current time, not that I dont use " " end -- end the infinite loop
Hope you guys can learn something from this!
- Engineer