Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function split(inputstr, sep)
- if sep == nil then
- sep = "%s"
- end
- local t={}
- for str in string.gmatch(inputstr, "([^"..sep.."]+)") do
- table.insert(t, str)
- end
- return t
- end
- term.clear()
- term.setCursorPos(1,1)
- term.write("Requesting video from pastebin...")
- local rick = http.get("https://pastebin.com/raw/66kXaX4q")
- wait = sleep
- for i,thing in ipairs(split(rick.readAll(),"\n")) do
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint(thing,20)
- wait(2)
- end
- rick.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement