It only checks messages against the messages in the MESSAGES table. If your messages contain any "magic" characters (such as brackets, parentheses, etc), you could try changing this:
Code:
if strmatch(message, mystring) then
to this:
Code:
if message == mystring then
If it's still not working, please post your actual table of messages, and give an example of a message you think should reset the timer but doesn't.