(MMV) Scripts for interactable text boxes?

I'm looking to create a gambling minigame where the player must guess if a six sided die will land on even or odd. If they guess right, they win the pot, guess wrong and they lose the bet. That can be done easily with the default editor and a randomized variable, then a conditional branch.
But what I really want to do is display a text box where players can input the amount of gold they want to bet; then that gold is increased, or taken from their inventory depending on if they win or not. How would I go about doing this? I don't know much javascript so any advice helps!
By default there's no text input scene. You can try the name input scene but it's inconvenient. Best would be to use plugins. Maybe try one of these:

Edit: I wasn't paying attention so I thought you were talking about general text not numbers lol so I linked a bunch of text input plugins. But you should do as Shaz said down below.
Spoiler
This above one is for name windows but you can set a variable to get the value once it's entered and then set the name back to what it was.
You don't need a plugin or javascript knowledge for that. Just use the Number Input event command to let them put the bet amount into a variable. Do a check to see that they have that much gold (might need a second variable and then a conditional branch). Then just Change Gold to add or subtract the amount based on whether they win or not.
... Omg yes XD I completely disregarded the fact that they're talking about numbers *facepalm* I must not be thinking straight today ^^;
After some tinkering, it works now! I had to set a variable that was equal to the player's gold to check if they had enough, then created a loop that breaks if they bet an amount they actually have. I'll include some screenshots in case if it helps anyone else later down the line. Thanks for the help folks!
Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/mmv-scripts-for-interactable-text-boxes.132432/