Quantcast
Channel: WoWInterface - Latest Updated list
Viewing all articles
Browse latest Browse all 48838

IfThen (1.7.8)

$
0
0
Change Log:
--------------------
Version1.7.8(2012-12-07)-Wow patch 5.1.0

Bugfix:

%Itemlevel%, %ItemlevelTotal% and Report() will now calculate the correct itemlevel numbers even with items that are transmorgified or upgraded (credit to Phanx for pointing me in the direction of a solution).
Special thanks to Cassiopea-Doomhammer(EU) for helping me out with the testing ;-]

-----------------------------------------------------------------------------------------------------------------------------------------------------------------


Version1.7.7(2012-11-28)-Wow patch 5.1.0

General:

Updated .TOC for WOW patch 5.1.0
Added a new searchbox to search and highlight text in the Edit window.
Fixed some typos in the documentation.
The battleground channel (/bg, /battleground) has been removed from the game. All functions that supported this like Chat(), Report() etc no longer does so.

New events:

Added "LostControl" that is triggered when you lose control of your character due to interrupts, root etc.

New functions:

HaveLostControl() -Will return true/false if you currently have lost control of your character.
InInstanceGroup() -Will return true/false if you are in an instance group (i.e. /instance).

Updated functions:

InGroup() -Will now also check if you are in an instancegroup (/instance).
Group() -Will now send chat messages to /instance if you are in an instance group.
Chat() -Now supports "Instance" as channel argument.
Report() -Updated how friendship reputation and rank is calculated due to changes in the Blizzard API.
HavePowerPoints() -Blizzard renamed a variable used with the Monk Chi from SPELL_POWER_LIGHT_FORCE to SPELL_POWER_CHI.

Updated variables:

%StatPets% will now output the number of pets as reported in your petjournal instead of from the statistics-page.

--------------...

Description:
--------------------
Allows you to create your own IF THEN statements that will dynamically change the function of a button.
This addon is intended for people that have a basic understanding of programming. Specifically conditional If-Then statements.
The addon allows you to write your own if-then statements that will be evaluated and run whenever you press a button, or they can trigger on certain events ingame.
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 Cast("Fishing");


OnEvent("GroupInvite") AND InLFGQueue()
THEN DeclineInvite() AND Reply("Sorry, I am already in the LFG queue");


Look at the FAQ page for the most asked questions, and the Examples page for examples.

Viewing all articles
Browse latest Browse all 48838

Trending Articles