Motor Encoder - Program an action for every loop

Oh wow. This is incredible. Let me try to wrap my head around this and implement into my code.
Seriously, this is above and beyond, thank you so much.