/echo [color] [-deghiNtsaqlbfnmr] [#channel|[=]nick] <text>
The -l switch makes it apply the highlight settings to the line that's displayed.
on *:text:*:#:{
if $highlight($1-) != $null && $1- !isnum {
use this to find out if the text applies to your highlight settings