Jump to content




Password door help!



  • You cannot reply to this topic
20 replies to this topic

#21 DSlink2010

  • Members
  • 50 posts

Posted 30 September 2012 - 10:57 PM

Oh, and here's WORKING code!
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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users