View difference between Paste ID: tt2jAHRM and YKY9NNak
SHOW: | | - or go back to the newest paste.
1
while true do
2
os.pullEvent = os.pullEventRaw
3
term.setCursorPos(1, 1)
4
term.clear()
5
term.write("password :")    
6-
		if read()=="1156" then
6+
		if read("*")=="1156" then
7
		term.clear()
8
		sleep(0.5)
9-
		redstone.setOutput("bottom", not redstone.getOutput("bottom"))
9+
		redstone.setOutput("back", not redstone.getOutput("back"))
10
        sleep(0.1)
11-
        redstone.setOutput("bottom", not redstone.getOutput("bottom"))
11+
		redstone.setOutput("back", not redstone.getOutput("back"))
12
    end
13
end