edoreld

Untitled

Oct 12th, 2013
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. monitor=peripheral.wrap("back")
  2.  
  3. while true do
  4. monitor.clear()
  5. monitor.setTextColour(colors.white)
  6. w,h=monitor.getSize()
  7.  
  8. monitor.setCursorPos(math.ceil((w / 2) - (#"Malamute Saloon" / 2)), 1)
  9. monitor.setTextScale(3)
  10. monitor.write("Malamute Saloon")
  11.  
  12. os.sleep(2)
  13.  
  14.  
  15. monitor.setTextColour(colors.pink)
  16. monitor.setCursorPos(math.ceil((w / 2) - (#"Drinks, music and more!" / 2)), 2)
  17. monitor.write("Drinks, music and more!")
  18.  
  19. os.sleep(2)
  20.  
  21. monitor.setTextColour(colors.white)
  22. monitor.setCursorPos(math.ceil((w / 2) - (#"Find us at WestTown" / 2)), 5)
  23. monitor.write("Find us at WestTown!")
  24.  
  25. os.sleep(10)
  26. end
Advertisement
Add Comment
Please, Sign In to add comment