Code:
alias find {
  if ($regex($1-,/\cc15(\S+)/)) && ($gettok(%filter,1,32) = $regml(1)) {
    echo -a TRUE
  }
}
This will match against text (anywhere in a sentence) with the color 15 in your %filter variable for the first word when you enter:
Quote:
/find sometextwiththecolour15

It'll echo TRUE

You don't put color codes in your %filter but enter /find with the color code to match.

You can apply this to an event to match too...