I got such an addon already, will attach it here for you.
You just need to change the "DumpVars_constants.lua" file, table "DumpVars.constantsToDump", with the constants each time and can use /dumpvars ingame then in the chat to dump them to teh SavedVariables file DumpVars.lua
You should, before login!, delete that file so it get's re-created freshly.
|