I'm not sure of the best way to word this but I have been trying to come up with a way to make a custom Currency/points system for use in my chat bot on twitch.

I am not sure of the best way to go about this, but i am trying to incorporate a kind of Dollars and Cents System

Fragments = 1 points
cores = 100 points

Kind of thing, I just don't know how i should attack this, or if it is possible, Does anyone know of a way to do this?

All the help is appreciated!!!