Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function viewBox(x,y,s,n)
- term.setBackgroundColor(colors.lightGray)
- term.setCursorPos(x,y)
- term.setCursorPos(x,y)
- print(n..(string.rep("-",string.len(s)-string.len(n))))
- print(s)
- print(string.rep("-",string.len(s)))
- end
- viewBox(1,1,"Hello, world!","hi.lua")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement