Pseudorandomize with constraint: Each stimulus separated by unequal number of fillers
I have a question with setting up pseudorandomization constraint in Opensesame. I have 24 word stimuli and 72 fillers and need to present all items to the participants in the following way: each word stimulus should be separated by filler (fillers). That means no more than one word stimulus appear in succession. However, there is no requirement about how many fillers to appear in succession.
Is this achievable by adding a few scrip in the loop script? I'm quite green in python coding, so I'll be grateful for your help here! Thank you!