Jump to content




need a pasword/keycard program

utility

  • You cannot reply to this topic
5 replies to this topic

#1 karsten100

  • New Members
  • 2 posts

Posted 28 September 2012 - 11:44 PM

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

#2 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 28 September 2012 - 11:45 PM

Wrong place to post this.

#3 NIN3

  • New Members
  • 57 posts
  • LocationEverywhere.

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 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

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 karsten100

  • New Members
  • 2 posts

Posted 29 September 2012 - 10:08 PM

ok i will move it

#6 ficolas

  • New Members
  • 30 posts

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