Betting Gold during minigames

I was thinking of using THIS plugin for a minigame and I was wondering how I would go about adding an option for the player to pick an amount of gold to wager before each game starts. Here is the event from the sample project.

Any and all help would be greatly appreciated 🙂

EXAMPLE.png
You could use the input number command to have the player choose a value before that game starts, but you'd need a way to define a win or a loss to do anything with that value. I'm sure the plugin is doing that behind the scenes, its just a matter of integrating the betting aspect.

I could take a look at the plugin but it wouldn't be until sometime Wednesday.
you can use this [example] for the wuxing game, so you can adjust
your event a bit to make it work with any amount of gold,
probably by making a minimum choice or 3 or 4?

Original thread: https://forums.rpgmakerweb.com/threads/betting-gold-during-minigames.150260/