Remembering Orders Mini-Game?

In Pokemon X/Y, there's a hotel in a city where you can work.  One of the jobs involves remembering an order correctly.  I know this is done in other games like Persona Q where Theodore has to remember people's orders, too.  Basically, I was wondering how to be able to do this in VX Ace as there's a part where the protagonist helps someone take orders for clothes down.


So far, this is what I have:


1. Make three variables Random with a few integers (e.g. 0~4).  One for colour; one for flavour/style; one for dish/clothing.


2. Make three more variables that are the "minders" for what traits are noted down.  One to mind the colour ; one to mind the flavour /style; one to mind the dish/clothing.


​
Spoiler
Order.png
 
​


 
​


3. Make a conditional branch where if the colour variable equals a certain number, that's a certain colour. (e.g. 0 = black, 1 = grey, 2 = brown, etc.)


4. Make the minder variable for the colour equal the same integer as the colour variable.


5. In else, more conditional branches for the other colours (as mentioned before e.g. 1 = grey, 2 = brown, etc.).


​
Spoiler
Order2.png

​


 
​


6. Make the next conditional branch where the next variable equals a certain number, that's a certain flavour/style.


7. Repeat steps 3-5 with the Random variable for flavour/style and dish/clothing.


​
Spoiler
Order3.png

​


 
​


8. Then made a Choices section where there's conditional branches on whether you got it right or wrong.


​
Spoiler
Order5.png

​




The problem then steps up where when I put \v[], I get an integer rather than a word, and I was wondering how to be able to make it a word.  There's also the idea if I want to make more than one order - should I just copy and paste the above events? Otherwise, feel free to correct me, or share any easier way to do this, please.
If you set the variable to an integer, it will come up as an integer. So, the best way to avoid this would be to make it into a string instead. If you don't know how, look at this tutorial. It shows you how to go further with variables. 
@HexMozart88 Thanks for the tutorial! I took a look at it, and after having a read-through a few times, I decided to give it a shot (I'm honestly horrible with coding).  Luckily, not getting any error windows, though...I am getting this instead:

Spoiler
Error.png





 




 










I'm honestly unsure on what I'm doing wrong:

Spoiler
Error2.png





 




 










And for that first part, I typed as $game_variables[35]=["black","grey","orange","pink","yellow"].  


Haven't reached that stage yet, but if I want to check if the player got the order correct, would it be $game_variables[whatever number you chose for colour/style/clothing] = $game_variables[variable that's storing the certain array data]?

Spoiler
Error4.png





 




 










I do recall in the tutorial it said that if you did a normal Control Variable on an array, it will overwrite the whole array with whatever you do in the command.  So then, how would you randomize the string variables for the order?


Sorry if I'm asking a lot of questions - this is honestly the first time I've tackled Strings and Arrays, as I was always intimidated by coding.  ^^;

Spoiler
Error3.png
The problem is you set the variable to show those colours, therefore, that's exactly what it'll do. Try this instead: 

Spoiler
Screenshot (48).png
@HexMozart88 Thanks for the quick reply! I was able to get it work with your method (though changed it to set rather than multiply for control variables).  

Spoiler
Success.pngSuccess2.png




There is one last question I have - if I want to make three orders in a row, should I make another variable to mind the previous order? So, pretty much just making more Clothes Colour/Style/Clothing variables? 
Yes. Exactly. Glad you've got it working  😀
@HexMozart88 Been able to do three orders in a row consecutively! Again, thank you so much for your help. 😀  


The question now is - how to get a moderator to close the thread? 

Original thread: https://forums.rpgmakerweb.com/threads/remembering-orders-mini-game.64679/