Wowpedia
Advertisement
Wowpedia
240,497
pages
Game Flavors
Links
Patch
Added in 1.7.0 / 1.13.2

Returns whether an addon has been loaded.

loaded, finished = IsAddOnLoaded(index or "name")

Arguments

index 
number - The index of the addon in the user's addon list. You cannot query Blizzard-provided AddOns using this parameter.

or

name 
string - The name of the addon to be queried. You can query Blizzard-provided addon using this parameter.

Returns

loaded 
boolean - 1 if the addon has been, or is being loaded, nil otherwise.
finished 
boolean - 1 if the addon has finished loading (the ADDON_LOADED has already been fired for this addon), nil otherwise.


Advertisement