Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function color(color,lx,hx,ly,hy,orcolor)
- term.setBackgroundColor(color)
- for i=ly,hy do
- for j = lx,hx do
- term.setCursorPos(j,i)
- print(" ")
- end
- end
- if orcolor == nil then
- orcolor = colors.black
- end
- term.setBackgroundColor(orcolor)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement