You can also use regex, but is a bit complicated. This strips control codes and will match %ourtag:
Code:
on $1:TEXT:$(/(\52CM\52\133\Q $+ %ourtag $+ \E\135\52\133\52)/iS):#: {