vanilla-wow-addons – Rev 1
?pathlinks?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<meta name="GENERATOR" content="PageBreeze Free HTML Editor (http://www.pagebreeze.com)">
<title>Conditional Template</title>
</head>
<body bgcolor="#ffffff">
<p>
<table bordercolor="#000000" cellspacing="0" cellpadding="3" width="100%" align="center"
border="1">
<caption>FlexBar Conditionals</caption>
<tr>
<td width="25%">Condtional</td>
<td>Description</td></tr>
<tr>
<tr>
<td width="25%">affectingcombat<target></td>
<td>
<p>target = unit code ("player","target","party1"-"party4","pet") --
true if unit is aggroed or otherwise affecting combat.</p></td></tr>
<tr>
<td width="25%">altdown<></td>
<td>no target -- true if the altkey is down</td></tr>
<tr>
<td width="25%">comboptseq<target></td>
<td>target = 0-5 -- true if player's combo points are equal to
target</td></tr>
<tr>
<td width="25%">comboptsgt<target></td>
<td>target = 0-5 -- true if player's combo points are greater
than target</td></tr>
<tr>
<td width="25%">comboptslt<target></td>
<td>target = 0-5 -- true if player's combo points are less
than target</td></tr>
<tr>
<td width="25%">controldown<></td>
<td>no target -- true if control key is down</td></tr>
<tr>
<td width="25%">custom<target></td>
<td>target = any string or number. True if there is a non-false
value at FBCustom[target] (used in scripts for custom conditions)</td></tr>
<tr>
<td width="25%">enoughmana<target></td>
<td>target = ID (1-120) -- true if the action at that ID has enough
mana</td></tr>
<tr>
<td width="25%">faded<target></td>
<td>target = button (1-120) -- true if the button named is faded</td></tr>
<tr>
<td width="25%">hasaggro<></td>
<td>no target -- true if the player has aggro</td></tr>
<tr>
<td width="25%">hasaura<target></td>
<td>target = Aura Name (eg - "Stealth","Battle Stance") -- True if the
specified aura is up. Use for stealth, forms, stances, pally
auras</td></tr>
<tr>
<td width="25%">hasbuff<target></td>
<td>target = Buff Name (eg - "Blessing of Might") -- True if the player
has the specified buff</td></tr>
<tr>
<td width="25%">hasdebuff<target></td>
<td>target = Debuff Name (eg - "Tetanus") -- True if the player has the
specified debuff.</td></tr>
<tr>
<td width="25%">hasdebufftype<target></td>
<td>target = Debuff Type (eg - "Poison") -- True if the player has that
type of debuff</td></tr>
<tr>
<td width="25%">hasitem<target></td>
<td>target = Item Name (eg - "Elixir of Minor Defense") -- True if the
player has that item in their inventory</td></tr>
<tr>
<td width="25%">healthabove10<target></td>
<td>For all HealthAbove, HealthBelow and HealthFull</td></tr>
<tr>
<td width="25%">healthabove20<target></td>
<td>Target = unit code ("player","target","party1"-"party4","pet")</td></tr>
<tr>
<td width="25%">healthabove30<target></td>
<td>True if the specified unit's health is above/below the trailing</td></tr>
<tr>
<td width="25%">healthabove40<target></td>
<td>number, or full.</td></tr>
<tr>
<td width="25%">healthabove50<target></td>
<td></td></tr>
<tr>
<td width="25%">healthabove60<target></td>
<td></td></tr>
<tr>
<td width="25%">healthabove70<target></td>
<td></td></tr>
<tr>
<td width="25%">healthabove80<target></td>
<td></td></tr>
<tr>
<td width="25%">healthabove90<target></td>
<td></td></tr>
<tr>
<td width="25%">healthbelow10<target></td>
<td></td></tr>
<tr>
<td width="25%">healthbelow100<target></td>
<td></td></tr>
<tr>
<td width="25%">healthbelow20<target></td>
<td></td></tr>
<tr>
<td width="25%">healthbelow30<target></td>
<td></td></tr>
<tr>
<td width="25%">healthbelow40<target></td>
<td></td></tr>
<tr>
<td width="25%">healthbelow50<target></td>
<td></td></tr>
<tr>
<td width="25%">healthbelow60<target></td>
<td></td></tr>
<tr>
<td width="25%">healthbelow70<target></td>
<td></td></tr>
<tr>
<td width="25%">healthbelow80<target></td>
<td></td></tr>
<tr>
<td width="25%">healthbelow90<target></td>
<td></td></tr>
<tr>
<td width="25%">healthfull<target></td>
<td></td></tr>
<tr>
<td width="25%">hidden<target></td>
<td>Target = Button number (1-120) OR Frame name ("MainMenuBar") --
Returns true if the specified button or frame is hidden</td></tr>
<tr>
<td width="25%">incombat<></td>
<td>no target - True if Player is meleeing.</td></tr>
<tr>
<td width="25%">incooldown<target></td>
<td>Target = ID (1-120) -- True if ability at that ID is in cooldown</td></tr>
<tr>
<td width="25%">ingroup<target></td>
<td>Target = Group number (1-120) -- True if cursor is inside specified
group</td></tr>
<tr>
<td width="25%">inrange<target></td>
<td>Target = ID (1-120) -- True if ability at that ID is in range</td></tr>
<tr>
<td width="25%">isadvanced<target></td>
<td>Target = Button (1-120) -- True if button is set to advanced</td></tr>
<tr>
<td width="25%">isdisabled<target></td>
<td>Target = Button (1-120) -- True if button is set to disabled</td></tr>
<tr>
<td width="25%">isrunning<target></td>
<td>Target = Timer name -- True if a timer of that name is running</td></tr>
<tr>
<td width="25%">mainhandchargeseq<target></td>
<td>Target = # -- True if number of charges on main hand enchant (poison?)
is equal to target</td></tr>
<tr>
<td width="25%">mainhandchargesgt<target></td>
<td>Target = # -- True if number of charges on main hand enchant (poison?)
is greater than target</td></tr>
<tr>
<td width="25%">mainhandchargeslt<target></td>
<td>Target = # -- True if number of charges on main hand enchant (poison?)
is less than target</td></tr>
<tr>
<td width="25%">mainhandenchant<></td>
<td>no target -- True if player has an enchantment (itembuff, poison) on
main hand weapon</td></tr>
<tr>
<td width="25%">manaabove10<target></td>
<td>For all ManaAbove/ManaBelow/ManaFull conditions</td></tr>
<tr>
<td width="25%">manaabove20<target></td>
<td>Target = Unit Code ("player","target","party1"-"party4","pet")</td></tr>
<tr>
<td width="25%">manaabove30<target></td>
<td>True if specified unit's mana is above/below the amount</td></tr>
<tr>
<td width="25%">manaabove40<target></td>
<td></td></tr>
<tr>
<td width="25%">manaabove50<target></td>
<td></td></tr>
<tr>
<td width="25%">manaabove60<target></td>
<td></td></tr>
<tr>
<td width="25%">manaabove70<target></td>
<td></td></tr>
<tr>
<td width="25%">manaabove80<target></td>
<td></td></tr>
<tr>
<td width="25%">manaabove90<target></td>
<td></td></tr>
<tr>
<td width="25%">manabelow10<target></td>
<td></td></tr>
<tr>
<td width="25%">manabelow100<target></td>
<td></td></tr>
<tr>
<td width="25%">manabelow20<target></td>
<td></td></tr>
<tr>
<td width="25%">manabelow30<target></td>
<td></td></tr>
<tr>
<td width="25%">manabelow40<target></td>
<td></td></tr>
<tr>
<td width="25%">manabelow50<target></td>
<td></td></tr>
<tr>
<td width="25%">manabelow60<target></td>
<td></td></tr>
<tr>
<td width="25%">manabelow70<target></td>
<td></td></tr>
<tr>
<td width="25%">manabelow80<target></td>
<td></td></tr>
<tr>
<td width="25%">manabelow90<target></td>
<td></td></tr>
<tr>
<td width="25%">manafull<target></td>
<td></td></tr>
<tr>
<td width="25%">offhandchargeseq<target></td>
<td>Target = # -- True if number of charges on off hand enchant
(poison?) is equal to target</td></tr>
<tr>
<td width="25%">offhandchargesgt<target></td>
<td>Target = # -- True if number of charges on off hand enchant
(poison?) is greater than target</td></tr>
<tr>
<td width="25%">offhandchargeslt<target></td>
<td>Target = # -- True if number of charges on off hand enchant
(poison?) is less than target</td></tr>
<tr>
<td width="25%">offhandenchant<></td>
<td>no target -- True if the off hand weapon has an itembuff/poison</td></tr>
<tr>
<td width="25%">remapped<target></td>
<td>Target = Button Number (1-120) -- True if button is remapped</td></tr>
<tr>
<td width="25%">scaled<target></td>
<td>Target = Button Number (1-120) -- True if button is scaled</td></tr>
<tr>
<td width="25%">shaded<target></td>
<td>Target = Button Number (1-120) -- True if button is shaded</td></tr>
<tr>
<td width="25%">shiftdown<></td>
<td>no target - True if ShiftKey is down</td></tr>
<tr>
<td width="25%">unitbuff<[unitcode target]></td>
<td>
<p>UnitCode = "party1"-"party4","pet","target", Target = Buff Name. --
True if specified unit has specified buff: EG unitbuff<["party1"
"Blessing of Might"]></p></td></tr>
<tr>
<td width="25%">unitdebuff<[unitcode
target]></td>
<td>
<p>UnitCode = "party1"-"party4","pet","target", Target =Debuff Name. --
True if specified unit has specified debuff: EG
unitdebuff<["party1" "Tetanus"]></p></td></tr>
<tr>
<td width="25%">
<p>unitdebufftype<[unitcode target]></p></td>
<td>
<p>UnitCode = "party1"-"party4","pet","target", Target = Debuff Type. --
True if specified unit has specified debufftype: EG
unitdebufftype<["party1" "Disease"]></p></td></tr>
<tr>
<td width="25%">
<p>unitcreaturetype<[unitcode target]></p></td>
<td>
<p>UnitCode = "party1"-"party4","pet","target",
Target = Creature Type. -- True
if specified unit is specified creature tyep: EG
unitdecreaturetype<["target" "humanoid"]></p></td></tr>
<tr>
<td width="25%">
<p>unitclass<[unitcode target]></p></td>
<td>
<p>UnitCode = "party1"-"party4","pet","target",
Target = Creature Type. -- True
if specified unit is specified creature type: EG
unitcreaturetype<["target" "humanoid"]></p></td></tr>
<tr>
<td width="25%">
<p>partydebufftype<[target]></p></td>
<td>< p > True if anyone in the party has the
specified debufftype: EG partydebufftype<"poison">
<p></p></td></tr>
<tr>
<td width="25%">unitexists<target></td>
<td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True
if the specified unit exists</td></tr>
<tr>
<td width="25%">unitisalive<target></td>
<td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True
if the specified unit is alive</td></tr>
<tr>
<td width="25%">unitiscorpse<target></td>
<td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True
if the specified unit is dead</td></tr>
<tr>
<td width="25%">unitisfriendly<target></td>
<td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True
if the specified unit is friendly</td></tr>
<tr>
<td width="25%">unitishostile<target></td>
<td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True
if the specified unit is hostile</td></tr>
<tr>
<td width="25%">unitisneutral<target></td>
<td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True
if the specified unit neutral</td></tr>
<tr>
<td width="25%">unitistapped<target></td>
<td>Target = Unit Code ("player","target","party1"-"party4","pet") -- True
if the specified unit is tapped by someone else (not available)</td></tr>
<tr>
<td width="25%">usable<target></td>
<td>Target = ID (1-120) -- True if the action at that ID is usable.
As of WoW patch 1300 this reflects a combination of - In the right stance
and a precondition being met. So, if you are in battle stance and
your opponent just dodged and you have overpower on id 1 then:
usable<1> will be true. If you are not in battle stance,
however, it will be false.</td></tr>
<tr>
<td width="25%">visible<target></td>
<td>Target = Button number (1-120) OR Frame name ("MainMenuBar") --
Returns true if the specified button or frame is
visible.</td></tr> <
/table >
</ p></p>
<p><strong><em><font size="4">Important Notes:</font></em></strong></p>
<ol>
<li>If you omit a target on conditions that need them, it
will simply return false.
<li>If you specify multiple targets on many conditions, it works as an
<strong><em>or</em></strong> - IE: hidden<[1 2 3 4]> will return
true if any of buttons 1,2,3 or 4 are hidden. Also,
unitdebufftype<["target" "poison" "disease"]> will return true if the
target is either diseased, or poisoned (or both). Also of note is
applying not to these: not unitdebufftype<["target" "poison"
"disease"]> will result in true if the target has NEITHER a poison nor a
disease debuff on them.
<li>All string values in conditions must be double
quoted, while the entire condition is in single quotes: IE
if='unitbuff<["party1" "Blessing of Might"]>'. Multiple values
must be in brackets IE: if='hasbuff<["Blessing of Might" "Blessing of
Wisdom"]>'
<li></li></ol>
<p> </p>
</body>
</html>
Generated by GNU Enscript 1.6.5.90.