Posted 15 September 2012 - 02:10 PM
Hello all, Demonic Wolf here and i love cc but i suck at codeing i was wonder if some one could help me, and wright me a code fot a lock that when the wrong PW in entered 3 time it sends out a diffrent redstone signal then the one for the door.
here the code im useing now
here the code im useing now
os.pullEvent = os.pullEventRaw
while true do
term.clear()
term.setCursorPos(1, 1)
print("Please Enter Password:")
input = read("*")
if input == "password" then
redstone.setOutput("back", true)
sleep(2)
redstone.setOutput("back", false)
end
end