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.
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");