Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function cPrint(str)
- local x = term.getSize(3)
- local _,y = term.getCursorPos()
- term.setCursorPos(math.ceil((x-#str)/2), y)
- print(str)
- end
- term.redirect(peripheral.wrap("back"))
- cPrint("BLACKSMITH")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement