os.pullEvent = os.pullEventRaw local side = "buttom" local password = "barbonazzo08" while true do term.clear() term.setCursorPos(1,1) write("Password: ") local input = read("*") if input == password then term.clear() term.setCursorPos(1,1) print("Password corretta") rs.setOutput(side,true) sleep(5) rs.setOutput(side,false) else print("Password incorretta") sleep(2) end end