OK, so if you already have a timer in the world that decrements, then add a red worm when the elapsed time (in seconds) is divisible by 18 evenly. Place the code for this immediately after decrementing the timer and before checking for an expired timer (time has run out).
If your timer is controlled by the system clock, you will probably need some way to ensure that only one is added each 18 seconds (maybe set up a variable to be the target value at which to add a red worm, checking the timer with the target value; when adding a red worm, set a new target value).

