while true do
password = "aperture"
term.clear()
term.setCursorPos(1, 1)
print("Please Enter Password:")
input = read("*")
if input == password then
redstone.setOutput("back", true)
print("Access Granted")
sleep(2)
redstone.setOutput("back", false)
end
end
It should work.
20 replies to this topic
#21
Posted 30 September 2012 - 10:57 PM
Oh, and here's WORKING code!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











