VirtualChest - Provide virtual chest GUIs for menus like ChestCommands (SpongeForge/SpongeVanilla 1.10.2, 1.11.2, and 1.12.2)

IIUC you need like an else branch, if the requirement isn’t met. CommandUtils allows you to do something like that.

If checks and has money condition.

cu execute if "*cu has money %player_name% 50000" "*say The player has enough money!"
cu execute if not "*cu has money %player_name% 50000" "*say The player doesn't have enough money!"

I don’t know if VirtualChest can execute multiple commands for the primary action. If not, use some kind of alias/command plugin, ofc CommandUtils can do that for you: Aliases.