Hi @Achilles,
Please find attached a modification of something I coded previously.
If you press space during the trial, the trial will end and a pause trials starts. You can end the pause trial by pressing space again and the previous trial will be repeated.
Hope this helps.
Jan
repeat_trials.psyexp (12.0 KB)
input.xlsx (8.5 KB)