well i've gopt another question

i'm using this script
Code:
on *:text:*:#chat:{
  if $network == efnet {
    ; find the cid of network irclv where you are on #channel
    scon -at1 if ($network == irclv) && ($me ison #channel) var % $+ cid = $!cid
    if %cid { 
     ; Set the active connection to network irclv
      scid %cid
     ; Relay the message on  #channel
      msg #channel Relay from #chat on Efnet -> $+(<,$nick,> :) $1-
     ; Reset the active connection to the original one
      scon -r
    }
  }
}


and it works fine, but what should i change if i want to catch only special line that are in color or bold (script now cathes all lines from the channel).
For example i need to catch these line (test)
tried to change first line to
on *:text:(test):#chat:{
but nothing happens cuz it's in yellow color