Advertisement
coderboy

Computercraft Code 1

Mar 7th, 2015
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. while true do
  2.   term.clear()
  3.   term.setCursorPos(1, 1)
  4.   print("Please enter password:")
  5.   input = read("*")
  6.   if input == "0203Ethan" then
  7.     redstone.setOutput("right", true)
  8.     sleep(2)
  9.     redstone.setOutput("right", false)
  10.   end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement