Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cPrint = function(text)
- local x2,y2 = term.getCursorPos()
- local x,y = term.getSize()
- term.setCursorPos(math.ceil((x / 2) - (text:len() / 2)), y2)
- print(text)
- end
- mon = peripheral.wrap("bottom")
- mon.setTextScale(2)
- term.redirect(mon)
- term.clear()
- term.setCursorPos(1,1)
- cPrint("Team 1")
- term.setCursorPos(1,2)
- cPrint("North East")
- term.setCursorPos(1,3)
- cPrint("Rainforest")
- term.setCursorPos(1,4)
- cPrint("")
- term.setCursorPos(1,6)
- cPrint("Team 2")
- term.setCursorPos(1,7)
- cPrint("South")
- term.setCursorPos(1,8)
- cPrint("Mystic Grove")
- term.setCursorPos(1,9)
- cPrint("")
Advertisement
Add Comment
Please, Sign In to add comment