Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent() = os.pullEventRaw()
- print "Please type in password: "
- r = read("*")
- correctpass = "[PASS GOES HERE!] -- Any doubt?
- if r == correctpass then
- print "Hello user."
- else
- print "Wrong password, rebooting..."
- sleep(2)
- os.reboot()
- end
- --Please PM me if it doesn't work, wrote it directly into Pastebin.
Advertisement
Add Comment
Please, Sign In to add comment