Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("bottom")
- mon.clear()
- mon.setTextColor(colors.purple)
- mon.setTextScale(3.5)
- mon.setCursorPos(1,1)
- local x,y = mon.getSize()
- function Title(string, ypos)
- mon.setCursorPos((x/2) + 1 -#string/2,ypos)
- mon.write(string)
- end
- Title("Deep Dark", 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement