Advertisement
antonsavov

Untitled

Feb 1st, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. --tutorial message heidelberg
  2. os.loadAPI('texthelp')
  3. local text = "IBA_GAME is an initiative of IBA_Heidelberg and is built on the 20,000_BLOCKS platform by the Digital Design Unit at TU Darmstadt."
  4. local c = 'blue'
  5. local highlights = {
  6. {word = 'IBA_GAME', color = c},
  7. {word = 'IBA_Heidelberg', color = c},
  8. {word = '20,000_BLOCKS', color = c},
  9. {word = 'Digital', color = c},
  10. {word = 'Design', color = c},
  11. {word = 'Unit', color = c}
  12. }
  13. local monitor = peripheral.wrap('top')
  14. monitor.setTextScale(1.5)
  15. local w,h = monitor.getSize()
  16. texthelp.printToScreenColor(monitor,text,w,highlights,2,2, colors.white)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement