Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --vars
- monside = "back"
- header1 = "BANNED ITEMS"
- rule1 = "All dem explosives and shit"
- rule2 = "Mining LAZORS"
- rule3 = "Crystal Chests"
- rule4 = ""
- rule5 = ""
- rule6 = ""
- rule7 = ""
- rule8 = ""
- mon = peripheral.wrap(monside)
- term.redirect(mon)
- term.clear()
- mon.setTextScale(2.5)
- mX,mY = mon.getSize()
- x1 = math.floor(mX/2) - math.floor(string.len(header1)/2)
- x2 = math.floor(mX/2) - math.floor(string.len(rule1)/2)
- x3 = math.floor(mX/2) - math.floor(string.len(rule2)/2)
- x4 = math.floor(mX/2) - math.floor(string.len(rule3)/2)
- x5 = math.floor(mX/2) - math.floor(string.len(rule4)/2)
- x6 = math.floor(mX/2) - math.floor(string.len(rule5)/2)
- x7 = math.floor(mX/2) - math.floor(string.len(rule6)/2)
- x8 = math.floor(mX/2) - math.floor(string.len(rule7)/2)
- x9 = math.floor(mX/2) - math.floor(string.len(rule8)/2)
- term.setCursorPos(x1,1)
- term.write(header1)
- term.setCursorPos(x2,3)
- term.write(rule1)
- term.setCursorPos(x3,5)
- term.write(rule2)
- term.setCursorPos(x4,7)
- term.write(rule3)
- term.setCursorPos(x5,9)
- term.write(rule4)
- term.setCursorPos(x6,11)
- term.write(rule5)
- term.setCursorPos(x7,13)
- term.write(rule6)
- term.setCursorPos(x8,15)
- term.write(rule7)
- term.setCursorPos(x9,17)
- term.write(rule8)
- term.restore()
Advertisement
Add Comment
Please, Sign In to add comment