Talk:Making a Password Protected Door

From ComputerCraft Wiki
Revision as of 16:14, 4 December 2012 by AfterLifeLochie (Talk | contribs) (Reverted edits by (talk) to last revision by Thesbros)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Rewriting Page

This page needs a rewrite. I am currently working on one, you can see the progress here. It may not be updated for a while since I am quite busy right now. If anyone could rewrite this page with pictures, better code, and clean it up a bit, then that would be awesome. --Thesbros

Debug Password

If you still want to be able to edit the startup file after using "os.pullEvent = os.pullEventRaw", add near the top of your code, under your password:

local debug = "pass"

you can replace "pass" with whatever you want but keep the "s. Now, after the first "os.reboot()", put an "end" there. Below that put:

if input == (debug) then


then put your "else" and everything where you need to put it.

Hope this helps