Password Protected Door
#1
Posted 20 April 2012 - 01:46 AM
Thanks Much appreciated!
#2
Posted 20 April 2012 - 03:21 AM
local oldPull = os.pullEvent; os.pullEvent = os.pullEventRaw; term.clear() term.setCursorPos(1,1) correctpass = "Open" write("Enter Password: ") pass = read("*") if pass == (correctpass) then write("Opening Door") redstone.setOutput("back", true ) sleep(3) redstone.setOutput("back", false ) os.shutdown() end write("Incorrect Password") sleep(3) term.clear() term.setCursorPos(1,1) textutils.slowPrint("Terminal Locking Down in 3... 2... 1...") sleep(.5) os.shutdown() os.pullEvent = oldPull;You can change the password and sayings to what suits you.
#3
Posted 20 April 2012 - 11:23 AM
make a disk. Make a program on the disk called startup.Put one of these in that program
One
print("Open")
Two
correctpass = "123" Shell.run(startup)when asked for pass just enter 123
Three
os.pullEventRaw = os.pullEvent: Shell.run(startup)and Ctrl T it
place disk in a drive next to the computer while it is shutdown startup computer.
#4
Posted 20 April 2012 - 02:20 PM
#5
Posted 20 April 2012 - 04:07 PM
#6
Posted 21 April 2012 - 03:51 AM
BigSHinyToys, on 20 April 2012 - 11:23 AM, said:
make a disk. Make a program on the disk called startup.Put one of these in that program
One
print("Open")
Two
correctpass = "123" Shell.run(startup)when asked for pass just enter 123
Three
os.pullEventRaw = os.pullEvent: Shell.run(startup)and Ctrl T it
place disk in a drive next to the computer while it is shutdown startup computer.
#7
Posted 21 April 2012 - 02:10 PM
#8
Posted 21 April 2012 - 03:56 PM
shell.run("clear") textutlis.slowPrint("You have been chosen to...") sleep(4) shell.run("clear") textutlis.slowPrint("DIE!") sleep(3) os.shutdown() end
#9
Posted 21 April 2012 - 08:45 PM
1) Save as startup
2 )Shutdown computer
3) Place TNT bellow computer
4) lol
shell.run("clear") textutlis.slowPrint("You have been chosen to...") sleep(2) rs.setOutput ("bottom", true) -- with TNT under terminal sleep(2) shell.run("clear") textutlis.slowPrint("DIE!") sleep(3) os.shutdown() endcredit to EmTeaKay
#10
Posted 21 April 2012 - 11:55 PM
BigSHinyToys, on 21 April 2012 - 08:45 PM, said:
1) Save as startup
2 )Shutdown computer
3) Place TNT bellow computer
4) lol
shell.run("clear") textutlis.slowPrint("You have been chosen to...") sleep(2) rs.setOutput ("bottom", true) -- with TNT under terminal sleep(2) shell.run("clear") textutlis.slowPrint("DIE!") sleep(3) os.shutdown() endcredit to EmTeaKay
#11
Posted 23 April 2012 - 08:21 PM
EmTeaKay, on 21 April 2012 - 11:55 PM, said:
BigSHinyToys, on 21 April 2012 - 08:45 PM, said:
1) Save as startup
2 )Shutdown computer
3) Place TNT bellow computer
4) lol
shell.run("clear") textutlis.slowPrint("You have been chosen to...") sleep(2) rs.setOutput ("bottom", true) -- with TNT under terminal sleep(2) shell.run("clear") textutlis.slowPrint("DIE!") sleep(3) os.shutdown() endcredit to EmTeaKay
#12
Posted 25 April 2012 - 12:03 AM
#13
Posted 12 January 2013 - 01:05 AM
#14
Posted 12 January 2013 - 01:13 AM
#15
Posted 05 October 2013 - 04:41 PM
#16
Posted 06 October 2013 - 01:06 PM
term.clear() term.setCursorPos(1,1) textutils.slowPrint("Please ... walk inside.") sleep(0.7) rs.setOutput("left", true) sleep(1.5) textutils.slowPrint("and...") sleep(1.5) term.clear() if term.isColor == true then term.setTextColor(colors.red) term.write("DIE!!!") term.setTextColor(colors.whte) rs.setOutput("bottom", true]) else print("DIE!!!") rs.setOutput("bottom", true) endThis assumes you have an iron door on the left, and TNT on the bottom. As well as an (empty) chest on the inside and a server plugin to prevent others from breaking or placing blocks.
#17
Posted 06 October 2013 - 09:00 PM
Ivanthefirst, on 05 October 2013 - 04:41 PM, said:
#18
Posted 08 October 2013 - 01:45 PM
-- Make a new program and make the program name your password print"Correct" redstone.setOutput("left",true) sleep(2) redstone.setOutput("left",false)I know, plenty of ways around it.
#19
Posted 08 October 2013 - 07:22 PM
Thanks all.
#20
Posted 09 October 2013 - 03:05 PM
pastebin get bdFAqPfp explode
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users