Posted 18 February 2013 - 05:56 PM
Title: Lua Program for a "Increment Gate"like program
I'm currently having issues on my program on having a variable increase from a value of 0 to infinity as long as a redstone pulse is detected. So it works by detecting a redstone pulse then adds 1 to the value but I'm encountering errors about syntax and my loop. May someone please post a sample code I could follow? It must also display the variable on a monitor with the text "Days:"Variable". Thanks!
I'm currently having issues on my program on having a variable increase from a value of 0 to infinity as long as a redstone pulse is detected. So it works by detecting a redstone pulse then adds 1 to the value but I'm encountering errors about syntax and my loop. May someone please post a sample code I could follow? It must also display the variable on a monitor with the text "Days:"Variable". Thanks!