Motor Encoder - Program an action for every loop

Without having to write all the "flash light if" statements is there an easy way to do that just as a multiple? I.e every multiple of 68028 flash light