Just make sure that the branches for the msg branch and the timer branch both end with a wait command so that it can catch.
http://esp8266basic.com
A BASIC interpreter for your ESP
Working now on Autodrop3d. A 3d printer with automatic part ejection system. https://autodrop3d.com