![]() I'm writing this at school in 5th period unable to test the formulas. That is all for now, if there are basic things I missed please tell me. Simple as that for opening a door with ComputerCraft. ![]() This is an example of creating a simple program for opening a door to the right of the computer ->Ģ.sleep(4) -This is making the computer wait 4 seconds to continue the program.Ĥ.os.shutdown() -Turning off computer after the program finishes. OUTPUTTING REDSTONE!! -> I know that you really want to know this because I KNOW this what you will use for mostly everything you create.Įxample of outputting a redstone signal -> tOutput("direction",true) ![]() VARIABLES! -Think of it as a place holder for a formula, number, word, or anything you want it to be really :p (EXAMPLE OF VARIABLES -> (a = 1), (b = opendoor) If you have been thru basic algebra I HOPE you know what a variable is. Write("text") -Displays the text you wrote on the screen and puts you down a line (try it out and you will understand) Print("text") -Displays the text on the screen. If you know that you might succeed at life. ![]() If you have a Disk Drive connected to your pc and you have a floppy disk inside of it youĬd - Shows the directories in your disk drive.Ĭd disk -Will bring you into the prompt of the floppy. Lua -Takes you to a direct prompt for lua allowing you to test commands basically. This is a list of commands in ComputerCraft for beginners. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |