This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Mackan90096's profile picture

Keypad!

Started by Mackan90096, 29 March 2015 - 08:47 AM
Mackan90096 #1
Posted 29 March 2015 - 10:47 AM
Hello! Today I have a keypad for you!
This uses one (1) advanced monitor to display the keys.

To download do

pastebin get 60qv5SkV startup

Edit the script to fit your needs such as the peripheral to wrap, the redstone side and the code.

To use it, build a contraption like so:




The computer can be a regular computer, but the monitor must be advanced.

Then when you run startup, you'll get a interface on your monitor like so:



To check if the code is correct, press the green button, to clear it, press the red button.

The default code is 0000
Dav999_NL #2
Posted 05 April 2015 - 02:53 PM
This is pretty nice, except it has a flaw: when the correct code is entered, the input is not unset and the door can be opened again by just clicking O.
Mackan90096 #3
Posted 06 April 2015 - 12:12 PM
Oh? I see! Thanks for reporting!

Fixed it.