Posted 12 January 2015 - 09:53 PM
Keep your base secure! Forget the nasty password locks of the past, I present to you CCTouchID, This will not work umless if there is a player detector from moar peripherals attached to the computer.
Pastebin: MKimTifx
Code:
Pastebin: MKimTifx
Code:
local auth = { "sillyjake", "Notch" }
while true do
e, s, p = os.pullEvent("player")
for _,v in pairs(auth) do
if v == p then
rs.setOutput("left", true)
sleep(2)
rs.setOutput("left",false)
os.reboot()
end
end
end
Edited on 12 January 2015 - 08:54 PM