WoW:API IsAddOnLoaded: Difference between revisions

m
(Removed Categories)
Line 1: Line 1:
<center>'''IsAddOnLoaded''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
{{wowapi}}__NOTOC__
 
Determine if an AddOn has been loaded.
Determine if an AddOn has been loaded.


Line 15: Line 14:
:;loaded : Flag - Indicates if the AddOn has been loaded, 1 if it has been, nil if it has not.
:;loaded : Flag - Indicates if the AddOn has been loaded, 1 if it has been, nil if it has not.


=== Usage ===
== Example ==
  if (IsAddOnLoaded("AddonName")) then
  if (IsAddOnLoaded("AddonName")) then
   do stuff
   do stuff
  end
  end
----
__NOTOC__
{{Template:WoW API}}
Anonymous user