Advertisement
biggles2206

Untitled

Jul 30th, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2.  term.clear()
  3.  term.setCursorPos(1, 1)
  4.  print("Please Enter Password:")
  5.  input = read("*")
  6.  if input == "door" then
  7.   print("Access Granted.")
  8.   redstone.setOutput("right", true)
  9.   sleep(2)
  10.   redstone.setOutput("right", false)
  11.   end
  12.   if input == "shell" then
  13.   shell.exit()
  14.   end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement