View difference between Paste ID: Rqnnm5dM and by093689
SHOW: | | - or go back to the newest paste.
1
os.pullEvent = os.pullEventRaw
2
correctpassword = "Changeme"
3
write("Enter Password   ")
4
password = read()
5-
if password == (correctpassword) then
5+
if password == (jags) then
6
 write("Access Granted")
7
 redstone.setOutput("side", true)
8
 sleep(5)
9
 os.shutdown()
10
elseif password == "edit" then
11
 write("Starting computer modus...")
12
 write("")
13
else
14
 write("Access Denied")
15
 sleep(5)
16
 os.shutdown()
17
end