hi I need a keycard program here is my idea for one, it should be that when you put in the keycard you will have to enter a passcoad to open a door or something please help i have the coad for the password program:
local function clearScreen()
term.clear()
term.setCursorPos(1, 1)
end
while true do
clearScreen()
print ("Type password to enter {LOCATION}!")
if read("*") == "{PASSWORD}" then
clearScreen()
print("Correct Password!")
print("Open door for how long?")
local a = read()
clearScreen()
print("Opening door!")
sleep (1)
redstone.setOutput("{SIDE OF DOOR}",true)
clearScreen()
sleep (a)
else
clearScreen()
print("Incorrect Password, please try again.")
sleep (5)
end
end
5 replies to this topic
#1
Posted 28 September 2012 - 11:44 PM
#2
Posted 28 September 2012 - 11:45 PM
Wrong place to post this.
#3
Posted 28 September 2012 - 11:48 PM
Move this too http://www.computerc...m/14-ask-a-pro/ And then we can all add our ideas to the pot for you.
#4
Posted 29 September 2012 - 12:04 AM
Bear in mind though, if you ain't got nothing to show, I am far less likely to help. Start some of it on your own, and I would be happy to throw my two cents in.
#5
Posted 29 September 2012 - 10:08 PM
ok i will move it
#6
Posted 16 October 2012 - 06:05 PM
Not here and there are lots of shits like so everywhere... I consider them.spam :/
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











