Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monitors = {peripheral.find("monitor")}
- local function draw(m)
- local w, h = m.getSize()
- local str = "Robinlemon's Base"
- local w2 = (w - #str) / 2
- local h2 = h / 2
- m.setCursorPos(w2, h2)
- m.write(str)
- end
- for _, m in pairs(monitors) do draw(m) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement