Doubt in question event

Hello guys, I hope all of you are fine.


I am doing a educational game for a college work, the game consist in a question game.
Until now I was creating the scenery, the NPCs and some events, my doubt is I will make 4 list with 10 question each one.
How can I create an event of a quiz with 10 random questions between the 4 lists that I will write and do not repeat?
@Yroshima Hmm, you could do each question as a separate room and after a question is answered, have it randomize a variable and teleport to the room that corresponds to that number, and use switches to tell the game what rooms have already been entered. How to actually implement that, I don't know, but that is the first thing that came to my mind.
basically a lot of switches (which questions have been asked) to check and some loops and random variables to handle everything.
It'll be tedious and not easy to do (unless you know a lot about logic constructs), but nothing too complicated either.
@JtheDuelist I thought about using your suggestion, but I think it will use more switches than the @Andar suggestion. However, I think I will try both and see which result I will like more.

Thanks both of you.

Original thread: https://forums.rpgmakerweb.com/threads/doubt-in-question-event.94024/