Adding a custom currency
lua/autorun/ccr_my_custom_currency.lua

(Screenshot due to gmodstore formatting issues)
You can find examples by looking at currencies that are implemented by default here. Don't get confused though, it's not normal Lua syntax.