i dont think you can put pause for command in overlay command
instead i have no idea if this will work but u can try you can try this
&overlay REDLIGHTOV opacity 1 in 0 THEN overlay REDLIGHTOV opacity 1 in 0.5 THEN overlay REDLIGHTOV opacity 0 in 0 loop INFINITE times