Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local m = peripheral.wrap("right")
- m.clear()
- m.setTextColor(256)
- m.setCursorPos(1,1)
- m.write('+------------------------------------------------+')
- local function centerText(text)
- local x,y = m.getSize()
- local x2,y2 = m.getCursorPos()
- m.setCursorPos(math.ceil((x/2) - (text:len() / 2)), y2)
- m.write(text)
- end
- centerText('Team Ghost Bride FTB Ultimate Server')
- i = 2
- repeat
- m.setCursorPos(1,i)
- m.write('|')
- m.setCursorPos(50,i)
- m.write('|')
- i = i+1
- until i == 19
- m.setCursorPos(1,19)
- m.write('+---------------------------Copyright by bl0ckey-+')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement