Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.clear()
- term.setCursorPos(1, 1)
- print("Please Enter OTP Password:")
- input = read("*")
- local otpcode = http.get("http://marctew.plex.pw:8082/mcotp/test.php")
- local otpcodedec = otpcode.readAll()
- if input == otpcodedec then
- redstone.setOutput("left", true)
- sleep(4)
- redstone.setOutput("left", false)
- os.shutdown()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement