Posted 30 March 2017 - 03:17 PM
So I have a command computer that starts a countdown timer when a student hits a button and sends out a redstone signal when the timer goes down to 0. It also sends messages to students with the tell command.
I think I want to step it up a notch, though, and I need some lua help for this. Students activate the countdown on the command computer with the press of a button and a redstone signal to the computer. My goal here is to stop the countdown if there are no students within a certain radius of the computer AND allow the program to reset itself automatically so the students can attempt to press the button again at a later time.
Please keep in mind that because of Microsoft I am stuck in MinecraftEDU version 1.7.10 stable build 20 and I am using computercraftedu and Craft OS 1.7
Also my coding skills are very basic…
I think I want to step it up a notch, though, and I need some lua help for this. Students activate the countdown on the command computer with the press of a button and a redstone signal to the computer. My goal here is to stop the countdown if there are no students within a certain radius of the computer AND allow the program to reset itself automatically so the students can attempt to press the button again at a later time.
Please keep in mind that because of Microsoft I am stuck in MinecraftEDU version 1.7.10 stable build 20 and I am using computercraftedu and Craft OS 1.7
Also my coding skills are very basic…