Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local password = "1234"
- local output = "right"
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Passwort: ")
- input = read("*")
- if input == password then
- rs.setOutput(output, true)
- sleep(2)
- rs.setOutput(output, false)
- end
- end
Add Comment
Please, Sign In to add comment