09.05.2019, 06:16
You can use storage for any kind of data. For example you can store a Lua table there, where each table key is year-month pair:
Code:
key = os.date('%Y-%m') -- YYYY-MM format
value = 123 -- current value
values = storage.get('values', {})
values[ key ] = value
storage.set('values', values)