View Single Post
08-06-14, 10:13 PM   #3
VikingP
A Deviate Faerie Dragon
Join Date: Aug 2014
Posts: 10
Originally Posted by Phanx View Post
If you want to avoid making users deal with WTF folder stuff, you could just save your entire saved variable in your addon, and if it's the first time the user has logged in with your addon (check by using your own saved variable), overwrite the "real" variable(s) with yours. You should probably show them a prompt first, so they know to go back up their own saved variables first if they don't want to lose all their settings. You'll also have to reload the UI afterwards.
Thats what im trying todo.

Like when they start up first time there will be a popup for adding the settings. Like the above settings.
I have tryed different ways to add the settings above to Bartender4 savedvariables, but i have limited skills around lua so if some could help me with a example.
  Reply With Quote