Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --os.pullEvent = os.pullEventRaw
- print("PAXOS v2.0")
- rednet.open("right")
- term.setTextColor(16)
- print("Terminal in sleep mode, press any key to wake up")
- event, key = os.pullEvent("char")
- if key == c then
- end
- term.setTextColor(4)
- print("Welcome to the ErolCorp testing facility")
- os.sleep(1)
- print("Please enter the access code when prompted")
- local password = "28469"
- os.sleep(1)
- print("")
- print("Password:")
- local input = read("*")
- if input == password then
- print("Access granted!")
- else
- print("Access denied! Attack sequence initiated")
- os.sleep(1)
- rs.setOutput("bottom", true)
- rednet.broadcast("attack")
- os.sleep(5)
- rs.setOutput("bottom", false)
- rednet.broadcast("halt")
- print("Attack sequence stopped")
- end
Advertisement
Add Comment
Please, Sign In to add comment