Okay, I've figured out how to use it now, but what I want to know is if I can use gold in place of tickets/variables.
Alright I am not a master of code so unfortunately I was unable to determine how to make it to where the slot machines could give you gold instead of coins. However, I did setup an event so that you can exchange coins for gold instead. By default the plugin uses Variable 11 to store coins. Using that information, we can make an exchange system following the below event. I feel that this could be a better solution to make it more immersive as well because you can use the same event system to make it to where they can get prizes, items, etc instead of gold in exchange for coins.
It's just a basic event so it can actually allow for your player to go into the negative in coins so be wary of that, it will need to be modified to check if the player is going into the negative for purchases. EDIT: I went ahead and added pictures for the full event sample.
If you want to get really fancy to make any sort of casino or arcade area you can use
SumRndmDde HUD Maker Plugin to make a HUD to track your coins when you are in the arcade/casino. Follow the tutorial on how to make HUDs, and using the text condition as ${$gameVariables.value(11)} will display the coin number you have. If you set an event to activate a switch on/off when you enter the arcade/casino you can have the HUD disappear/reappear so it seems like it only works in those types of areas. Make sure you set the Condition of the HUD to $gameVariables.value(10) === 1 (for variables, value is referring to variable 10 = 1) or $gameSwitches.value(10) == true (for switches, value is referring to switch 10 = true (on), use false for (off)). Sorry I couldn't answer your original question but hopefully this provides a workable solution for you, unless someone else has the answer you need.