I have a loop event with a matching condition. The problem is the matching can happen more than one. I only want the first matched result. This is some script: