Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Kennwort:")
- input = read("*")
- if input == "Cobsen" then
- redstone.setOutput("left", true)
- trigger=false
- end
- while trigger==false do
- print("Zum Schliessen close tippen")
- close = read("-")
- if close == "close" then
- redstone.setOutput("left", false)
- trigger=true
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement