I might be missing something, but how do you detect whether or not the player put in the right answer to a questions? (I.E. when the secret word is apples).
Viewing post in Keyboard Input Window - for RPG MAKER MV/MZ comments
You can do this using the "Conditional Branch" event command. I usually suggest to use the "Script" section and check the variable used for registering the input.
So you'll have:
$gameVariables.value(variable_id).toLowerCase() === "your word all lowercase".
This way you'll make the check not case sensitive. If you need a case sensitive check remove the "toLowerCase()" function.