August 30, 20187 yr Hi, I have a function checking combat log for specific events and i'm using a for loop to itterate the words to check for possible match, returning true if the text contains those words. My problem is, the functions returns true several times instead of just 1, so i guess i should clear the combat log as soon as it finds one of those words so it won't find those words again until the wow event happens again, but i can't find any way to do that.. Does anyone has the anwser please? :) Edited August 30, 20187 yr by cedced30 clarification
Create an account or sign in to comment