Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- screen = peripheral.wrap("right")
- screen.setTextScale(4)
- function printCar(xV, yV, lettre)
- x1, x2 = screen.getSize()
- if x1 < xV then
- return
- else
- write(lettre)
- return
- end
- end
- function printString(stringV)
- stringV = tostring(stringV)
- lenght = string.len(stringV)
- for i = 20,-lenght,-1 do
- screen.setCursorPos(i, 1)
- for j = 0,lenght do
- printCar(i + j, 1, string.sub(stringV, j + 1, j + 1))
- end
- sleep(0.4)
- shell.run("clear")
- end
- end
- while true do
- shell.run("clear")
- messageAffi = http.get("https://www.dropbox.com/s/shh0ezzm64zf031/msg.txt")
- printString(messageAffi.readAll())
- end
- messageAffi.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement