Random selection of stimuli without repeating in different blocks

I would recommend using Routine Settings in more recent versions.