Marks an addon as enabled. The addon will remain inactive until the player logs out and back in or reloads the UI (see ReloadUI()).

Changes to the enabled/disabled state of addons while in-game are saved on a per-character basis.


See also Addon-related functions.

Signature:

EnableAddOn(index) or EnableAddOn("name")

Arguments:

  • index - The index of the addon to be enabled (number)
  • name - The name of the addon to be enabled (string)