Ok so I made a simple program to basically detect if a lever is pushed down to send a rednet color to move an MFFS platform. I am brand new at lua and OpenComputers and would like to do make it so that something like event("char") == "w" the miner will go up, if it detects an "s" then it will go down, or if you hit "x" it will stop the miner.
It might be helpful to just start w/how to get it to detect a keypress to just stop the program. I am slowly but surely understanding some of the terms on the wiki, but some simple examples would be a much better way to learn. Thanks!
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Link to post
Share on other sites