Randomizing answers in a quiz game?

Hello!
I recently got the idea to make a quiz game (much like some other users here before me) for vocabulary learning/studying. I've figured out how to randomize questions displayed using common events and such. However I can't figure out how to randomize the ANSWERS displayed while still displaying the correct answer! I want the game to have some replay ability, and if the same answers appear for questions every time, then that aspect is lost a little in my opinion. I feel like the answer to this is probably pretty obvious, but after some exhaustive googling, I've come up with nothing 🙁 Any help is appreciated!

Thanks in advance for any advice!
*Nevermind. Disregard this.*
Well, here’s one way I think you can do this with the default engine:
- instead of displaying the actual answers in a choices window, just display a-d or however many you’re using
- store possible answers in variables
- have four variables to store the answers-to-display for a-d
- using a random number and conditional branch, assign a random answer to the ‘display’ variables a-d
- in the question (so in the text window), show the possible answers a-d using the ‘display’ variables within the text window using the normal /V[] command
- you can check whether the answer is correct by checking whether the ‘display’ variable was equal to the correct answer for that question, after it’s been chosen

This will take a bit of time. You can probably make a much more efficient system using scripting and arrays, but this should work fine in theory.
I found this on the forum, I didn't test it, but give it a try:

[DELETED BY AUTHOR]

--- edit ---

As Unisoft said, the posted script is for RMVXA.
this is one of the few cases where I would suggest using a plugin to make things easier
I found this on the forum, I didn't test it, but give it a try:

Easy to miss when you’re just searching, but just so TC knows that’s not for MV (ruby!)

Original thread: https://forums.rpgmakerweb.com/threads/randomizing-answers-in-a-quiz-game.132801/