Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mon = peripheral.find("monitor")
- local textURL = "https://pastebin.com/rqTMqxe9"
- term.clear()
- term.redirect(mon)
- function download()
- return http.get(textURL).readAll()
- end
- function display(text)
- term.setCursorPos(1, 1)
- term.clear()
- print(text)
- end
- function run()
- local text = download()
- display(text)
- end
- while true do
- pcall(run)
- sleep(60)
- end
Add Comment
Please, Sign In to add comment