Posted 17 May 2016 - 07:31 PM
CODE DELETED
Edited on 29 May 2016 - 04:01 PM
if user == "username" and pass == "123" then
term.clear()
term.setCursorPos(14,8)
print("Authentication Successful")
rs.setOutput(side, true)
sleep(5)
term.clear()
sleep(3)
os.reboot()
elseif user == "BYPASS" and pass == "RESET" then
term.clear()
term.setCursorPos(14,8)
print("LOL")
rs.setOutput(side, true)
sleep(5)
term.clear()
sleep(3)
os.reboot()
else
term.clear()
term.setCursorPos(14,8)
print("Password not Recognised")
sleep(5)
os.reboot()
end
elseif user == "BYPASS" and pass == "RESET" then
term.clear()
[ INSERT CODE TO TERMINATE THE PROGRAM AND RETURN TO THE CONSOLE]
sleep(3)
os.reboot()