View Single Post
10-13-12, 03:52 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Assuming you have already set up the global profile, this should work:

Code:
/run SexyMap2DB[UnitName("player").."-"..GetRealmName()] = "global"; ReloadUI()
Though I have no idea why SexyMap is butchering the profile system that way instead of working like every other addon.

Alternatively, you could just use Reflux's "emulate profiles" feature to save the whole SexyMap2DB saved variables table. You'd probably still need to reload the UI afterwards, though, since SexyMap doesn't appear to have any code to support switching profiles on the fly.

Another option you might want to consider would be to use another minimap addon.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote