Macro A.I.

Macro A.I.

The Addon Investigator

Description

Macro AI displays a list of all addons, while having minimal impact on resources. The output clearly shows the current status of each addon, and both the name and numerical index are valid references for controlling the addon, eg:

/script DisableAddOn(1); ReloadUI();
/script EnableAddOn(2); DisableAddOn(5); EnableAddOn("SwissArmyKnife"); ReloadUI();
/script LoadAddOn(4); ( Only usable with "On-Demand" addons )

NOTE: The "Title" of an addon is often different to the "Name". You cannot reference an addon by the title.

The macro is completely self-contained, so it can be useful for debugging addons. For example, it can be used to confirm no addons are loaded. I'm not sure how scoping works for macros, and all "local" designations have been sacrificed for the sake of extra functionality... even so, the variables will only ever contain data for a single addon, anway.

Source Code

Instead of downloading the macro file, you can just copy the macro code from here...

/script q=function(x)DEFAULT_CHAT_FRAME:AddMessage(x) end;p,w,z=" \124cff8f","aaff",GetNumAddOns();for i=1,z do s=p.."70f0No";n,t,o,e,l,r=GetAddOnInfo(i);if e then s=p.."ff00Y" end;if r then s=s..p.."ffff"..r end;q(i..p..w..t.." \124r("..n..") En:"..s)end

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
04 Jan 2009
Category
Last update
04 Jan 2009
Development stage
Release
Language
  • enUS
License
Public Domain
Curse link
Macro A.I.
Recent file

Authors

  • Avatar of Kord
    • Manager
    • Author