Advertisement
DeanReid

Donations

Aug 6th, 2013 (edited)
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.51 KB | None | 0 0
  1. local function centerText(text)
  2. local x,y = term.getSize()
  3. local x2,y2 = term.getCursorPos()
  4. term.setCursorPos(math.ceil((x / 2) - (text:len() / 2)), y2)
  5. write(text)
  6. end
  7.  
  8. local oldEvent = os.pullEvent
  9. os.pullEvent = os.pullEventRaw
  10.  
  11. centerText("Donation Board")
  12. print ("=================================================================")
  13. print ("")
  14. centerText("$1 Donation")
  15. print ("")
  16. centerText("4 Industrial Credits")
  17. print ("----------------------------------------------------------------")
  18. print ("")
  19. centerText("$5 Donation")
  20. print ("")
  21. centerText("20 Industrial Credits")
  22. print ("----------------------------------------------------------------")
  23. print ("")
  24. centerText("$10 Donation")
  25. print ("")
  26. centerText("40 Industrial Credits")
  27. print ("----------------------------------------------------------------")
  28. print ("")
  29. centerText("$15 Donation")
  30. print ("")
  31. centerText("60 Industrial Credits")
  32. print ("----------------------------------------------------------------")
  33. print ("")
  34. centerText("$20 Donation")
  35. print ("")
  36. centerText("80 Industrial Credits")
  37. print ("----------------------------------------------------------------")
  38. print ("")
  39. print ("All of which can be used in both Normal Member And Donator Shops")
  40. print ("")
  41. centerText("Want a Custom amount of Industrial Credits??")
  42. print ("")
  43. centerText("Send Dean a Message")
  44. print ("")
  45. centerText(" All Donators get Multiple homes, A Nickname and Donator Warps")
  46. print ("")
  47. centerText("All Donators above $10 also get Armour/Weapon Repair")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement