Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap("top")
- m.setBackgroundColor(colors.gray) --background color
- m.setTextScale(1)
- m.setTextColor(colors.lime)
- function h(text)
- w, h = m.getSize()
- m.setCursorPos((w-string.len(text))/2+1, 2)
- m.write(text)
- end
- m.clear()
- h("Banned Items") --heading
- i = 3
- m.setCursorPos(1,3)
- function t(text)
- i = i+1
- m.setCursorPos(1, i)
- m.write(text)
- end
- shell.run("clear")
- shell.run("BannedItems") --file directory
- -- Made By H3Y_GO_OUTSID3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement