Advertisement
s3ptum

PcGrief

Oct 19th, 2013
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Settings
  2. mon = peripheral.wrap("left") --Screen Side
  3. mon.setTextScale(5) --Text Size
  4. strtpos = 12 --Start position on screen
  5. speed = .4 --Scroll Speed (Seconds)
  6. text = "Will is an ass! :P by s3ptum" --Displayed Text
  7.  
  8. pos = strtpos
  9. poslimit = 0 - strtpos
  10.  
  11. while true do
  12. mon.clear()
  13. mon.setCursorPos(pos, 1)
  14. mon.write(text)
  15. sleep(speed)
  16. if pos == poslimit then
  17. pos = strtpos
  18. else
  19. pos = pos - 1
  20. end
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement