effects segments in a Cue

Hi is there a way to record different segments for an effect?
I would like to change the segments of the effect in a cue list. Like : Cue 1 = 2 segments Cue 2 = 3 segments cue 3 = 4 segments etc.
I will change segments when the effect is running

Thanks