Maxrep for specific variable value
Hey guys, how are u?
So, i am trying to build an auditory Oddball.
To avoid a duplication of non-target stimuli i need to use maxrep operation, but i want that it just occurs when the variable sound is equal to the non-target stimuli.
Can i do it?
Thanks for your help.

Comments
For exemple.
constrain sound maxrep=1
It will be set maxrep for the variable sound. But i need to set maxrep just for sound when it is = sound2.
is it possible?