Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Üdvözöllek Csernobilban!")
- print("Kérlek írd be a jelszót az ajtó kinyitásához!")
- monitor = peripheral.wrap("top")
- monitor.clear()
- monitor.setCursorPos(1,1)
- monitor.setTextScale(3)
- monitor.write("Csernobil")
- password = read()
- if password == "mcpower123" then
- print("A jelszó helyes!")
- print("Az ajtó kinyilt.")
- redstone.setOutput("right",true)
- monitor.clear()
- monitor.setCursorPos(1,1)
- monitor.setTextScale(3)
- monitor.write("Üdvözöllek!")
- sleep(5)
- redstone.setOutput("right",false)
- monitor.clear()
- monitor.setCursorPos(1,1)
- monitor.setTextScale(3)
- monitor.write("Csernobil")
- os.shutdown()
- end
- if password == "gepconfig1999" then
- print("Gép hozzáférés engedélyezve...")
- else
- print("A jelszó helytelen...")
- sleep(3)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement