Title says it all here is the code and the link from where I got
term.clear()
term.setCursorPos(1,1)
password = "cheese" --Sets the password
debug = "applesareyummm" --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("left",true) --Change this and the setOutput to the side the door is on
sleep(2) --Pause for 2 seconds
rs.setOutput("left",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
http://www.minecraft...ked-door-11812/
the red is the part I need help with for some reason its not working yes I have the door on the left.
also REMEMBER I'm using CC (ComputerCraft) 1.6v Idk if the version even makes a difference.












