luckdemon

BeatTheBeastMon2

Jul 1st, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. local cPrint = function(text)
  2.         local x2,y2 = term.getCursorPos()
  3.         local x,y = term.getSize()
  4.         term.setCursorPos(math.ceil((x / 2) - (text:len() / 2)), y2)
  5.        
  6.         print(text)
  7. end
  8. mon = peripheral.wrap("bottom")
  9. mon.setTextScale(2)
  10. term.redirect(mon)
  11. term.setCursorPos(1,1)
  12. cPrint("East")
  13. term.setCursorPos(1,2)
  14. cPrint("Team 2")
  15. term.setCursorPos(1,3)
  16. cPrint("Maple Forest")
  17. term.setCursorPos(1,4)
  18. cPrint("")
Advertisement
Add Comment
Please, Sign In to add comment