Advertisement
craftyoyo

scroll playing

Jul 31st, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. mon = peripheral.wrap("bottom")
  2. while true
  3.   do
  4.       i = http.get("http://morya.esy.es/turtle/get.php").readAll()
  5.       --print(i)
  6.  end
  7.  
  8.  
  9. mon.setTextScale(4)
  10. text (i)
  11. pos = 20
  12. while true do
  13. mon.clear()
  14. mon.setCursorPos(pos, 1)
  15. mon.write(text)
  16. sleep(0.2)
  17. if pos == -21 then
  18. pos = 20
  19. else
  20. pos = pos - 1
  21. end
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement