Exit a loop on pavlovia

The error has disappeared!! JUHU!

But unfortunately, the randomization does not work properly :frowning: It repeats some sentences 4 times and some do not come at all. The same is with stories. And it also did not record the story variable in the pilot file. So basically, its random with replacement. I need random without replacement :frowning:

Is there maybe some other way to choose random items from iterative lists on pavlovia? Choice worked very well offline.

I my earlier offline version I also had a code in presentation

randomRowList = list(range(60))
shuffle(randomRowList)

And then in Select Rows

$[randomRowList.pop()]

I seemed to be working but not on pavlovia

I appreciate your help and support, sorry for taking so much of your time!