Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mon = peripheral.wrap("top")
- local x,y = mon.getSize()
- mon.clear()
- mon.setCursorPos(1,1)
- function horBar()
- for i=1, x do
- mon.write('-')
- end
- end
- function vertBar()
- for i=2, y-1 do
- mon.setCursorPos(1,i)
- mon.write('|')
- mon.setCursorPos(x,i)
- mon.write('|')
- end
- end
- local array logo = {"",
- horBar()
- vertBar()
- mon.setCursorPos(1,y)
- horBar()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement