Create If Statement with Text as a Condition

Technically, whilst the timer is running since I don’t currently have a cap to the timer. So what I want specifically is for the event to trigger when the timer counts up to “7”.