Advertisement
Connor1997

Vertical Scrolling Text

Dec 13th, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. local contributors ={}
  2. local maxw,maxh=term.getSize()
  3. local offset=0
  4. while true
  5. term.clear()
  6. for cnt = 1,maxh do
  7. print(contributors[cnt+offset])
  8. end
  9. sleep(0.5)
  10. if(offset+1<(#contributors-maxh))
  11. then offset=offset+1
  12. else offset=0
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement