Advertisement
edoreld

Untitled

Oct 12th, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. monitor=peripheral.wrap("bottom")
  2.  
  3. while true do
  4. monitor.clear()
  5. w,h=monitor.getSize()
  6.  
  7. monitor.setCursorPos(math.ceil((w / 2) - (#"Welcome to Metroid Station" / 2)), 1)
  8. monitor.setTextScale(1)
  9. monitor.write("Welcome to Metroid Station")
  10.  
  11. monitor.setCursorPos(math.ceil((w / 2) - (#"Carts every minute" / 2)), 5)
  12. monitor.write("Carts every minute")
  13.  
  14.  
  15. os.sleep(10)
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement