Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text = {
- " Welcome To ",
- " Rules Digger v1.0 Rules ",
- " ",
- "Here in Digger is the only place to mine.",
- "Start from spawn boundaries and work",
- "your way out.",
- "Do not run off and mine in a random direction.",
- "We want to keep the world files small so",
- "keep things compact.",
- "Mining world will be deleted and reset",
- "every month. You will have a weeks notice.",
- " ",
- " ",
- " ",
- " Please use the portal ",
- " to travel to the nexus ",
- }
- local monitorSide = "back"
- local monitor = peripheral.wrap(monitorSide)
- monitor.clear()
- monitor.setTextScale(1)
- local w,h = monitor.getSize()
- print(w .. ", " .. h)
- local startX = 2
- local startY = 1
- for n = 1 , h do
- if n == 1 or n == 2 then
- monitor.setTextColour(colours.lightBlue)
- elseif n == 21 then
- monitor.setTextColour(colours.cyan)
- else
- monitor.setTextColour(256)
- end
- local line = text[n]
- monitor.setCursorPos(startX, startY + n)
- monitor.write( line )
- end
Advertisement
Add Comment
Please, Sign In to add comment