term.clear() term.setCursorPos(1,1) password = "Open Sesame"  --Sets the password debug = "hiddenFix" --Sets debugging password write("Enter your password: ") input = read()  --Input the password term.clear()  --Clearing the terminal, and... term.setCursorPos(1,1)  --...THEN setting the cursor position if input == password then print("Password Correct!")  --If the input is correct! rs.setOutput("right",true)  --Change this and the setOutput to the side the door is on sleep(5)  --Pause for 2 seconds rs.setOutput("right",false) os.shutdown()  --Shut down the computer elseif input == debug then exit()  --Exits the program else print("Password Incorrect!")  --If the input is incorrect! (Oh Noes!) sleep(2) os.shutdown()  --Shut down the computer end  --Ends the 'if' block