Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mR = peripheral.wrap("monitor_5")
- mL = peripheral.wrap("monitor_6")
- -- Size of text --
- scaleL = 5
- scaleR = 5
- -- Left has 15 max chars --
- -- Right has 16 max chars --
- textL = "IPolitic's" textR = "Battle Arena"
- textL2 = "Todays Fight:" textR2 = " "
- textL3 = " " textR3 = " "
- textL4 = "Yevois VS" textR4 = " Alex"
- textL5 = " " textR5 = " "
- textL6 = " " textR6 = " "
- -- Colors --
- mL.setBackgroundColor(colors.blue)
- mR.setBackgroundColor(colors.red)
- mL.clear()
- mR.clear()
- xL = mL.getSize()
- yL = mL.getSize()
- xR = mR.getSize()
- yR = mR.getSize()
- mL.setTextScale(scaleL)
- mR.setTextScale(scaleR)
- -- line 1 --
- mL.setCursorPos((xL - #textL), 1) mL.write(textL)
- mR.setCursorPos(1,1) mR.write(textR)
- -- line 2 --
- mL.setCursorPos((xL - #textL2), 2) mL.write(textL2)
- mR.setCursorPos(1,2) mR.write(textR2)
- -- line 3 --
- mL.setCursorPos((xL - #textL3), 3) mL.write(textL3)
- mR.setCursorPos(1,3) mR.write(textR3)
- -- line 4 --
- mL.setCursorPos((xL - #textL4), 4) mL.write(textL4)
- mR.setCursorPos(1,4) mR.write(textR4)
- --line 5 --
- mL.setCursorPos((xL - #textL5), 5) mL.write(textL5)
- mR.setCursorPos(1,5) mR.write(textR5)
- --line 6 --
- mL.setCursorPos((xL - #textL6), 6) mL.write(textL6)
- mR.setCursorPos(1,6) mR.write(textR6)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement