There's probably a better way to do this, but i basically want a user input that can be set an indefinite amount of times in a new variable each time. I was trying to figure out how to set a variable with a variable in its name.
Coming from DOS Batch I'd do something like:
set /A num=0
set /A coins%num%=%num% & set /A num=(%num%+1)
This sets a new variable each time under the variable "coins1,coins2,coins3" depending on the value of "num"