Posted 25 March 2012 - 11:34 AM
This thread is for all my programs I make
Content
- Door Lock
- Minecart Terminal
Door Lock
This is my Door Lock program
pass = "123"
print "Door Status: Locked"
write "Password: "
input = read("*")
if pass == input then
shell.run("clear")
print "Door Status: Unlocked"
redstone.setOutput("back",true)
sleep(5)
redstone.setOutput("back",false)
os.shutdown()
else
print "Door Status: Locked"
sleep(2)
os.shutdown()
end
Minecart Terminal
This is my Minecart Terminal program. Its very basic.
shell.run("clear")
print "1- Activate Minecart"
write "Enter Digit Here: "
input = read()
if input == "1" then
shell.run("clear")
print "Minecart Activated"
sleep(2)
redstone.setOutput("back",true)
sleep(5)
redstone.setOutput("back",false)
shell.run("clear")
print "Terminal Shutting Down"
sleep(2)
os.shutdown()
else
shell.run("clear")
print "You have enter the wrong code"
sleep(2)
print "Terminal Shutting Down"
sleep(2)
os.shutdown()
end
Content
- Door Lock
- Minecart Terminal
Door Lock
This is my Door Lock program
Spoiler
print "Door Status: Locked"
write "Password: "
input = read("*")
if pass == input then
shell.run("clear")
print "Door Status: Unlocked"
redstone.setOutput("back",true)
sleep(5)
redstone.setOutput("back",false)
os.shutdown()
else
print "Door Status: Locked"
sleep(2)
os.shutdown()
end
Minecart Terminal
This is my Minecart Terminal program. Its very basic.
Spoiler
shell.run("clear")
print "1- Activate Minecart"
write "Enter Digit Here: "
input = read()
if input == "1" then
shell.run("clear")
print "Minecart Activated"
sleep(2)
redstone.setOutput("back",true)
sleep(5)
redstone.setOutput("back",false)
shell.run("clear")
print "Terminal Shutting Down"
sleep(2)
os.shutdown()
else
shell.run("clear")
print "You have enter the wrong code"
sleep(2)
print "Terminal Shutting Down"
sleep(2)
os.shutdown()
end