Hello all. This is the official thread for IfThen.
In short; the addon allows you to create your own IF-THEN statements that will dynamically change the function of a macro. It also reacts to events ingame.
This addon is intended for people that have a basic understanding of programming (specifically conditional If-Then statements).
It provides a simple text editor, a fully documented API and some simple If-Then syntax so that you can string together almost anything you want to react to.
Examples:
IF HasOpenQuest("My daily fishing quest") AND InZone("Stormwind")
THEN UseItem("Fishing Pole");
OnEvent("GroupInvite") AND InLFGQueue()
THEN DeclineInvite() AND Reply("Sorry, i'm already in the LFG queue");
In short; the addon allows you to create your own IF-THEN statements that will dynamically change the function of a macro. It also reacts to events ingame.
This addon is intended for people that have a basic understanding of programming (specifically conditional If-Then statements).
It provides a simple text editor, a fully documented API and some simple If-Then syntax so that you can string together almost anything you want to react to.
Examples:
Project page: http://wow.curseforge.com/addons/ifthen/
See the FAQ-page and the Examples-page for even more info.
There are also some screenshots of the ui available.