There are two alert types that give you the time of the last message:
Last Receive
States the time that the last inbound message was received from the specified threads.
Last Send
States the time that the last outbound message was sent to the specified threads.
If you compare using != you will get an alert. I’m not sure but you may need to stop and start after the alert to reset.
You could try playing with these.