Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function centerText(text)
- local x,y = term.getSize()
- local x2,y2 = term.getCursorPos()
- term.setCursorPos(math.ceil((x / 2) - (text:len() / 2)), y2)
- write(text)
- end
- local oldEvent = os.pullEvent
- os.pullEvent = os.pullEventRaw
- centerText("Information Board")
- print ("=================================================================")
- print ("")
- centerText("Type /cake for free unlawful Cake")
- print ("----------------------------------------------------------------")
- print ("")
- centerText("This server comes with a Tree Chopping Tool, ")
- print ("")
- centerText("You need an *Iron Axe* or above **NOT MODDED ONES** to be able to use it")
- print ("----------------------------------------------------------------")
- print ("")
- centerText("New Forum")
- print ("")
- centerText("Register on the forums at www.voxelloop.co.uk/ :) ")
- print ("----------------------------------------------------------------")
- print ("")
- centerText("New Teleport Plugin")
- print ("")
- centerText("We have a new TP Plugin Click the button in the main spawn room to be teleported Randomly")
- print ("----------------------------------------------------------------")
- print ("")
- centerText("Header")
- print ("")
- centerText("Other Info Coming Soon!")
- print ("")
- print ("=================================================================")
Add Comment
Please, Sign In to add comment