Lua Script Programming Help
Hey making a script for the Minecraft Modpack ComputerCraft and I need help with one of my programs that are not working. Basically I need it to repeat the following code 576 times:
Pulse Script code:
rs.setOutput("back, true")
sleep(0.1)
rs.setoOutput("back, false")
One of my friends sent me a program but it didn't work:
Repeater Script code:
while true do print("Enter Password") password = "Fire" if read() == password then print("Access Granted") for x = 1,10 do rs.setOutput("back", true) sleep(.1) rs.setOutput("back", false) end else print("Access Denied") sleep(1) end
Any ideas on how to fix the program above or any suggestions on a new script I should use?