Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --tutorial 07 A5
- os.loadAPI('texthelp')
- 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."
- local c = 'blue'
- local highlights = {
- {word = 'Patrick', color = c},
- {word = 'Henry', color = c},
- {word = 'Village', color = c}
- }
- local monitor = peripheral.wrap('top')
- monitor.setTextScale(1.5)
- local w,h = monitor.getSize()
- texthelp.printToScreenColor(monitor,text,w,highlights,2,2, colors.white)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement