Advertisement
Guest User

password

a guest
Nov 25th, 2015
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. monitor = peripheral.wrap("left")
  2. while true do
  3.  term.clear()
  4.  term.setCursorPos(1, 1)
  5.  print("Please Enter Password:")
  6.  input = read("*")
  7.  if input == "password" then
  8.   redstone.setOutput("back", true)
  9.   monitor.write("Password")
  10.   monitir.write("Accepted")
  11.   sleep(10)
  12.   redstone.setOutput("back", false)
  13.  end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement