Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function fill(monitor, pos1, pos2, length, height)
- local m = peripheral.wrap(monitor)
- for x = 0, height - 1 do
- m.setCursorPos(pos1, pos2 + x)
- m.write(string.rep(" ", length))
- end
- end
- return { fill = fill }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement