Automatically change conditions file after n participants

Hi everyone, I’m searching for a way to automatically change my conditions file after 8 participants. Is it possible to get the number of persons that already participated in pavlovia or count the remaining credits?

Thanks for help.

Yes, when you assign an X number of credits, they will appear at the bottom of your Pavlovia experiment page and then next to it in red all the credits that have been used, in the credits menu you will have every credit used and the date. But if you can change the file automatically after 8 participants, that I do not know. You can do it manually for sure. But I am following in case these can be done.