Take a look at the revision I've attached of retention1.csv from:
C:\DirectRT\Samples\6 v2006\open ended response contingencies
It's not a very efficient solution, but it does allow you to require as many re-tries as you like. In the attached revision, the subject gets two attempts to get the question correct. But you could repeat the sequence within each trial to allow for as many re-tries as you like.