Marks an addon as enabled. The addon will remain inactive until the player logs out and back in or reloads the UI (see
Changes to the enabled/disabled state of addons while in-game are saved on a per-character basis.
See also Addon-related functions.
index- The index of the addon to be enabled (
name- The name of the addon to be enabled (
character- The name of the character (without realm) whose setting to modify. Pass nil to apply to all characters on the current realm ('All' setting in default UI). (