Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- local side = "left"
- local password = "lexbank"
- local opentime = 4
- term.clear()
- term.setCursorPos(1,1)
- print ("")
- print (" National Lexminister")
- print ("")
- print (" HostBukkit RP Banking Systems")
- print (" Copyright 1990 - 2012")
- print ("")
- print (" __________________________________")
- print (" | |")
- print (" | Remember: Unauthorised access |")
- print (" | is prohibited and punishable |")
- print (" | by death. Use at your own risk. |")
- print (" |__________________________________|")
- print ("")
- write (" Please enter password: ")
- local input = read("*")
- if input == password then
- print ("")
- print (" Password Correct! Door now opening...")
- rs.setOutput (side, true)
- sleep(opentime)
- print (" ...door is now closed. Have a nice day!")
- rs.setOutput (side, false)
- sleep(2)
- os.reboot()
- else
- print ("")
- print (" Password Incorrect!")
- sleep(2)
- print (" Restarting system...")
- sleep(2)
- os.reboot()
- end
Add Comment
Please, Sign In to add comment