User blog comment:ShadowRezza/How would i set the computer so that i type in a password and the door to my house opens?/@comment-4599161-20120722075246/@comment-5452477-20120829191734

This: x = io.read("*")

Should be: x = io.read(" ")

Then this code works by keeping your door open for 3 seconds. You can increase the time by increasing the sleep(#) code after true.

Worthy to note: You'll need to have a button or another computer on the otherside or you'll just be locking yourself in AND, this code can be edited by anyone that knows how to edit the startup rather easily.