Advertisement
JasonMcRay

Untitled

Nov 29th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. Text = {
  2. "|=======================================|",
  3. "| === Galaxy Unlimited Server Rules === |",
  4. "|=======================================|",
  5. " ",
  6. "Rule 1: No Griefing allowed",
  7. " ",
  8. "Rule 2: Be nice",
  9. " ",
  10. "Rule 3: Nether lava pumps are forbidden",
  11. " ",
  12. "Rule 4: Be kind to your neighbours.",
  13. " Don't claim a plot right next to them.",
  14. " Ask them first!",
  15. }
  16. mon = peripheral.wrap("right")
  17. mon.clear()
  18. wScreen, hScreen = mon.getSize()
  19.  
  20. function Vertical()
  21. for i = -#Text,hScreen+#Text do
  22. for t = 1,#Text do
  23. mon.setCursorPos(wScreen/2-39/2,hScreen-i+t)
  24. mon.write(Text[t])
  25. end
  26. mon.setCursorPos(wScreen/2,i)
  27. sleep(.5)
  28. mon.clear()
  29. end
  30. end
  31.  
  32. while true do
  33. Vertical()
  34. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement