Advertisement
antonsavov

Untitled

Dec 14th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. --tutorial 07 A5
  2. os.loadAPI('texthelp')
  3. local text = "The neighbourhood is at the grounds of the former Patrick Henry Village (PHV) - located west of the city centre, across the A5 highway."
  4. local c = 'blue'
  5. local highlights = {
  6. {word = 'Patrick', color = c},
  7. {word = 'Henry', color = c},
  8. {word = 'Village', color = c}
  9. }
  10. local monitor = peripheral.wrap('top')
  11. monitor.setTextScale(1.5)
  12. local w,h = monitor.getSize()
  13. texthelp.printToScreenColor(monitor,text,w,highlights,2,2, colors.white)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement