local tText = { "Giving away free Ender Mailboxes", "Please just take 1", " ", "Taking special requests", "/mail s ROMVoid ", "Price will be determined", "after request is received", " ", "Purchase will be sent", "via Ender Mailbox" } local sSide = "top" local nTextSize = 0.5 local function printCenter(mon, t) local w, h = mon.getSize() local y = math.floor((h / 2) - (#t / 2)) - 1 for i, line in ipairs(t) do local x = math.floor((w / 2) - (#line / 2)) mon.setCursorPos(x, y + i) mon.write(line) end end local mon = peripheral.wrap(sSide) mon.setTextScale(nTextSize) printCenter(mon, tText)