Advertisement
Tinybang_Studio

Untitled

Mar 7th, 2021 (edited)
815
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.05 KB | None | 0 0
  1. local monitors = {"monitor_0"}
  2.  
  3. local Board = {
  4.     {1, "Rules:"},
  5.     {1, "   "},
  6.     {0.5, "   No Cheating | This Refers to anything that gives you an unfair advantage"},
  7.     {0.5, "   No Griefing | Dont destroy other people's builds, code etc"},
  8.     {0.5, "   No Stealing | Dont steal from others"},
  9.     {0.5, "   Follow TOS  | Dont break the minecraft tos"},
  10.     {0.5, "   No Crimes   | This is obvious dont commit any crimes"},
  11.     {1, "   "},
  12.     {1, "Changelog [07 March 2021]:"},
  13.     {1, "   "},
  14.     {0.5, "   + Server Started"},
  15.     {0.5,  "   + Spawn Added"},
  16.     {0.5, "   + Rules & Changelog Added"},
  17. }
  18.  
  19. function start(monitor)
  20.     monitor.clear()
  21.     monitor.setCursorBlink(false)
  22.     monitor.setCursorPos(1,1)
  23.  
  24.     monitor.setTextScale(0.95)
  25.  
  26.     for _, data in ipairs(Board) do
  27.         local scale = data[1]
  28.         local text = data[2]
  29.        
  30.         print(text)
  31.     end
  32. end
  33.  
  34. for _, monitor_name in ipairs(monitors) do
  35.     local monitor = peripheral.wrap(monitor_name)
  36.     term.redirect(monitor)
  37.     start(monitor)
  38. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement