Change Machine Help

Hi Everyone.
I’ve been reading this and other related pages.

i would like help with i slightly similar issue…

currently when i press the button i get 10 coins dispensed!! (got this working fine and i’m able to change the amount dispensed)

i would like to be able to add more buttons and have each one dispense a different amount of coins eg button 1 = 5 coins button 2 = 10 coins etc.

i’m quite a beginner so any help greatly appreciated

Please post the code you currently have. It is difficult to suggest changes to something we've never seen.

Steve