edoreld

Untitled

Oct 20th, 2013
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 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. monitor.setTextScale(2)
  8.  
  9. monitor.setCursorPos(math.ceil((w / 2) - (#"Want to see your ad here?" / 2)), 3)
  10. monitor.write("Want to see your ad here?")
  11.  
  12. monitor.setTextColour(colors.yellow)
  13. monitor.setCursorPos(math.ceil((w / 2) - (#"Contact the staff for info!" / 2)), 4)
  14. monitor.write("Contact the staff for info!")
  15.  
  16. os.sleep(10)
  17. end
Advertisement
Add Comment
Please, Sign In to add comment