Posted 03 December 2017 - 05:07 PM
The all new password system!
This is a new password system that is simple to use and configure, you can use it at startup or as an unlocking program!
Code
Download
Howto start at startup
pastebin get uUSrzyyx startup
(you need both programs for startup)Features
Please leave opnions in the comments, this is my second (public) script and a retake on my first script
This is a new password system that is simple to use and configure, you can use it at startup or as an unlocking program!
Code
Spoiler
os.pullEvent = os.pullEventRaw
InsertMainPassword = passwordmain
InsertSecondaryPassword = passwordsecondary
InsertTertiaryPassword = passwordtertiary
InsertQuarternaryPassword = passwordquarternary
InsertQuinaryPassword = passwordquinary
while true do
term.clear()
term.setCursorPos(1,1)
term.write("Password:")
local password = read()
if password == "passwordmain" then
shell.run("ID")
elseif password == "passwordsecondary" then
shell.run("ID")
elseif password == "passwordtertiary" then
shell.run("ID")
elseif password == "passwordquarternary" then
shell.run("ID")
elseif password -- "passwordquinary" then
shell.run("ID")
else
term.print("Incorrect.Rebooting")
sleep(5)
os.reboot
end
end
Download
Spoiler
pastebin get 8tQ1vyhh lockunlockHowto start at startup
pastebin get uUSrzyyx startup
(you need both programs for startup)
Spoiler
- Five passwords, with expandability!
- Cannot terminate
- Can run ANY program when password entered
- Can run ANY program when incorrect password entered