I was creating a basic text to chat command for the cost of 1.000.000 virtual currency to trigger. But I found out everyone can trigger that command even the users who dont have 1.000.000 virtual currency on their account. Is there a way to solve that?
Basically what I want to do is giving the viewers the ability (besides the virtual shop) to buy a ticket, with the command !ticket for a certain amount of virtual currency, with this ticket they can buy a spin on a prize wheel for example. The command just needs to inform the viewer that he bought that ticket with a text to chat action, but if everyone can type and trigger !ticket, even if the amount is set to a certain value, this idea doesn’t work.
It’s also strange that the amount of 1.000.000 virtual currency is not withdrawn from the accounts of those users who actually own 1.000.000+ currency. For example a viewer redeemed !ticket, he has a balance of 2.6 million virtual currency, the command got triggered, but no changes on his account.