Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.clear()
- term.setCursorPos(1, 1)
- print("Ingresa la contraseña: ")
- input = read ("*")
- if input == "malparido" then
- print("Contraseña correcta!!!")
- redstone.setOutput("back", true)
- sleep(2)
- redstone.setOutput("back", false)
- else
- print("Contraseña incorrecta")
- sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement