os.pullEvent = os.pullEventRaw
while true do
term.clear()
term.setCursorPos(1,1)
print ("Zared's Security System Initialized")
local monitor = peripheral.wrap("monitor_0")
monitor.write("Zared's Vault Lock V2.6.11")
write("Password: ")
local input = read("*")
if input == "Synapse" then
term.clear()
term.setCursorPos(1,1)
print ("correct! See monitor for details")
local monitor = peripheral.wrap("monitor_0")
term.redirect( monitor)
print("Password Correct...")
sleep(3)
print("Establishing uplink to Partical Matrix.")
sleep(3)
print("Uplink established!")
print("Threading code.")
sleep(3)
print("Setting Forcetron Partical Matrix State to: 'False'")
sleep(3)
print("Injection complete!")
print("Disabling particles: True")
sleep(2)
term.clear()
term.setCursorPos(1,1)
term.restore()
rs.setOutput("left",true)
sleep(6)
rs.setOutput("left",false)
term.clear()
term.setCursorPos(1,1)
else
print("Password Incorrect!")
sleep(2)
term.clear()
term.setCursorPos(1,1)
term.restore()
sleep(2)
term.clear()
term.setCursorPos(1,1)
end
end
Edited by D3athbysp0rk, 03 April 2014 - 01:16 AM.












