MV A plugin that allows user input in battle?

Could I request a plugin that allows user input in battle, affecting damage dealt or similar things? Like those Scratch games that make you fight with math or something.

It doesn't need to have a specific look or anything, just a text box that the player could type in during battle for their attack, and a question that shows above it. If it matches with some correct answer, the attack hits. If it's close enough, the attack is weakened. If it's outright wrong, the attack misses.

If possible, this is optional, but a time limit would be nice? Maybe a countdown beside the question. Again, only if possible, the attack could be critical if answered quickly, and missed if time runs out.
Just because you haven't gotten any other responses - you might want to start with looking up existing QTE plugins.

They wouldn't have a text input like you're asking about, but you might be able to adjust it so there are numbers scrolling or something, and hitting the button when the correct answer is highlighted will be your best result.

To get specifically what you're asking for is so personal (meaning no one else has expressed a use for it) that you'd likely have to go the route of commissioning a coder.
there is a evented tutorial on battle with math questions/quizes.
I just cant remember who made that one, but wrong answers is getting
dmg (based on their attack), correct answes are dodges.

but so far I know, there are some nice plugins for it, and 2-3 tutorials
to make battles interesting.

if you have something specific in mind, its like ATT_Turan said, to commision
one as battles are 1 of the hardest things to modify. (so far I readed).
I helped someone with an evented quiz battle system a while ago:
OK here's the promised demo in case you're interested~ link (6.3 MB zip). I put in a bunch of silly questions, it's just for demo purposes. 🙏
I'm not sure that'd apply to your case, though, because the questions get asked BEFORE command selection.

However, you may be able to do something with action sequences, e.g. from Yanfly's plugins:
For example, these allow you to have a common event run after the user starts performing the skill, but before the skill hits the target. This allows you to modify the outcome using the event, e.g. by changing the value of a variable referenced in the skill's damage formula.
Spoiler: example setup
Damage formula:

a.mat + a.atk + v[1] * 4 - b.def
Action sequence:

<target action> change variable 1 = 0 wait for movement if user.isActor() common event: 3 else change variable 1 = Math.randomInt(241) end motion attack: user motion wait: user action animation: target action effect: target death break wait: 30 </target action>
Then the event sets that variable (ID 1 in this case) to an appropriate range. This example was actually a QTE kind of thing, but the approach works regardless of how the variable's value is determined.
It's possible to change the visual state of a skill's output (miss/crit) in the damage formula. This means it's possible to do things like this (source: MV / MZ Script Call List -> Damage Formula -> Change Visual Result):

// 50% extra chance to miss & do 0 damage; otherwise hit for 200 if (Math.random() < 0.5) { b.result().missed = true; 0 } else { 200 }
// Always show a "crit" effect; return 10 * atk b.result().critical = true; 10 * a.atk
So you could have it crit if the variable's value is above a certain threshold, e.g.

var r = a.atk * 4 - b.def * 2; if (v[1] > 4) { b.result().critical = true; this.applyCritical(r) } else r

Without plugins, the only input commands are basically Show Choices, Input Number, and Name Input Processing. For timed choices, maybe check out this plugin:

Original thread: https://forums.rpgmakerweb.com/threads/a-plugin-that-allows-user-input-in-battle.152071/