r/ComputerCraft • u/[deleted] • Jan 31 '20
Please help a noob out...
I have no idea how to code and frankly don't have time to learn how. But I am almost positive from skimming through the wiki that what I am asking is very easy, I am just useless when it comes to coding and can't figure it out... So; how would I get my little program to wait until I have a redstone input to run? I have created a little thing that slowly prints out text on the screen of a monitor but it would be really useful if I could just punch a button to get it to run. Thks in advance to anyone who answers.
2
Upvotes
3
u/HydrantHunter Jan 31 '20
Put your code in a while loop and look for redstone events at the beginning of the loop, like so...