Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function clear()
- term.clear()
- term.setCursorPos(1, 1)
- term.setTextColor( colors.white )
- end
- clear()
- print("Inserire URL")
- local url = read()
- while true do
- clear()
- local sExample = http.get("http://172.16.20.218/luanet/"..url..".lua") --Get contents of page
- loadstring(sExample.readAll())()
- sExample.close() --Just in case
- term.setTextColor(colors.white)
- term.setCursorPos(1, 18)
- term.write("URL: ")
- term.setCursorPos(1, 18)
- local url = read()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement