Code:
ON 1:TEXT:*:#: {
  if ($nick isin %TEST) {
    set %testnick $nick
    set %match $strip($1-)
    if (match1 isin %match) && (match2 isin %match) {
      if (match3 isin %match) || (match4 isin %match) { 

        if (THIS.THING isin %match) { .echo $read(match.txt,1) }
        if (THAT.THING isin %match) { .echo $read(match.txt,2) }
        if (SOME.THING isin %match) { .echo $read(match.txt,3) }

      }
    }
    unset %testnick
    unset %match
  }
}


I think thats what you asked, you are using triggers (this.thing) to select an optional event
such as reading line so and so
since you know the trigger and what you where it is in the text you shouldnt have to search for it
msg $chan $read(match.txt,1)
for example if line 1 had Choo Choo said the train if all your checks of matching text were in the line said in channel you would say "Choo Choo said the train"