Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- copyright (c) by gigagames
- -- Passwort
- passwort = "pantoffel100"
- passsymbol = "*"
- -- POWERING
- rseite = "left"
- zeit = 5
- Pweingeben = "Bitte gebe das Passwort ein"
- Pwrichtig = "Passwort richtig"
- Pwfalsch = "Passwort Falsch"
- while 1 do
- print(Pweingeben)
- xpasswort = read(passsymbol)
- if xpasswort == passwort then
- print(Pwrichtig)
- rs.setOutput(rseite,true)
- sleep(zeit)
- rs.setOutput(rseite,false)
- term.clear()
- else
- print(Pwfalsch)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement