Trinket Slot Macro Wow

 admin
I was wondering if there is a way to first check if my trinkets are off cooldown and THEN use /use them.
Here is what the problem is.
My macros look BASICALLY something like this.

Problem with this method is when my trinkets are on Cooldown I get bombarded withItem is Not Ready YetandSpell Is Not Ready Yeterror messages, which significantly reduce my casting speed, which is a BIG problem in PVP. You know every failed spell or trinket use trigger a GCD of like 0.5 or more.
I need some way to check if the trinkets are ready before executing the /use command and if they are still on Cooldown, the macro should skip the /use 13, 14 part and proceed directly with the spell-cast.
Here is how I imagine it, USING PSEUDO-CODE to just represent my idea.


Anyone got any idea how to resolve this ? I used the Search function but didn't find anything relevant to my problem.

Just wondering about a macro for Using a trinket based on its slot id instead of item id? Question I want to make a forever macro that shows tooltip with a modifier of shift. When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. This will use the trinket in slot Z, unless you click button 2, in which case it will equip the trinket at bag coordinates X,Y. Useful for engineers with multiple trinkets on separate cooldowns (i.e. Goblin Mortar and Goblin Dragon Gun in slot 13, Goblin Bomb Dispenser and Mithril Mechanical Dragonling in slot 14).

Macros
General guides

Macros Beginners Guide
Making a macro
Macro conditionals
Macro commands
Category:Macros

Useful macros by class


Use Trinket Slot Macro Wow Classic

This brief Wow macro guide will teach you how to use items in a macro like potions, trinkets, belt tinkers and more. Adding macros to your dps, tank or healing rotation makes you a better player and more handsome than the next guy. On the first button push this macro will cast Beserking and Trinket 1, on the second it will cast Icy Veins and Trinket 2. If you used the question mark icon, WoW will automatically update the icon to the current element of the sequence.

Slot
Main Menu

This page lists macro conditionals, keywords used with macro commands, the RestrictedEnvironment and the SecureStateDriver API to allow limited logic for player convenience without trivializing the game.

Refer to secure command options for syntax and making a macro for a tutorial.

Wow Macro Trinket Slot 1

Targeting keywords

Targeting keywords begin with @ and assign a temporary target to the macro command. (This does not change the player's selected target.)

Macro
@unitId
Any valid unitId.
@cursor
Immediately targets the ground under the cursor.
@none
Interupts auto self-cast and requires a targeting cursor.

Boolean conditions

All other conditionals evaluate as either true to execute the macro command, or false to skip it. The no prefix reverses this (ie, nodead means alive).

The following tables categorize each boolean condition by whether it evaluates the state of any target, only the player, or the user interface.


Evaluated against a target
Macro ConditionalSimilar APIDescription
existsUnitExists()The unit exists
help, harmUnitCanAssist() and UnitCanAttack()The unit exists and can be targeted by helpful/harmful spells
deadUnitIsDeadOrGhost()The unit exists and is dead
party, raidUnitInParty() and UnitInRaid()The unit exists and is in your party/raid
unithasvehicleuiUnitInVehicle()The unit exists and is in a vehicle


Evaluated against the player only
Macro ConditionalSimilar APIDescription
canexitvehicleCanExitVehicle()In a vehicle and able to exit
channeling, channeling:spellNameUnitChannelInfo('player') and ChannelInfo()Channeling any spell, or a certain spell
combatInCombatLockdown or UnitAffectingCombat('player')In combat
equipped:type, worn:typeIsEquippedItemType(type)Refer to itemType for possible types (ie, weapon) and subtypes (ie, sword)
flyableIsFlyableArea()Unreliable in Wintergrasp
flyingIsFlying()Mounted or flight form, and in the air
form:n, stance:nGetShapeshiftForm()Refer to GetShapeshiftForm for possible values
group, group:party, group:raidIsInGroup() and IsInRaid()Self-explanatory
indoors, outdoorsIsIndoors() and IsOutdoors()Self-explanatory
mountedIsMounted()Self-explanatory
pet:name, pet:familyUnitCreatureFamily('pet')Using a hunter pet by name or family
petbattleC_PetBattles.IsInBattle()In a pet battle
restingIsResting()In a rested zone
spec:n, spec:n1/n2GetActiveSpecGroup(false)Activated the n'th (or any of n1, n2) spec
stealthIsStealthed()Self-explanatory
swimmingIsSubmerged()Self-explanatory
talent:row/colThe given row/col talent is active


Slot
Evaluated against the user interface (action bars, keyboard, mouse)
Macro ConditionalSimilar APIDescription
actionbar:n, bar:n, or bar:n1/n2/...GetActionBarPage()The n'th (or any of n1, n2, ...) action bar page appears
bonusbar, bonusbar:nHasBonusActionBar()The bonus action bar is visible; see
button:n, btn:n1/n2/..., btn:<virtual click>OnClickThe mouse button used as left (1), right (2), middle (3), extra (4 & 5) or virtual
cursorGetCursorInfo()Dragging an action button (item, spell, macro, etc.)
extrabarHasExtraActionBar()An extra action bar/button is visible
modifier, mod, mod:key, mod:actionIsModifierKeyDown() or IsModifiedClick(action)Accepts shift, ctrl, alt, lshift, rshift, ..., and any action title
overridebarHasOverrideActionBar()The override bar is replacing the main action bar
possessbarIsPossessBarVisible()The possess bar is visible
shapeshiftHasTempShapeshiftActionBar()The temporary shapeshift action bar is replacing the main action bar
vehicleuiHasVehicleActionBar()The vehicle UI is active

Patch changes

Slot

Trinket Slot Macro Wow Classic

Patch 6.0.2 (2014-10-14): 'talent' conditional added.
Patch 2.3.0 (2007-11-13): Several conditions and shorthand alternatives added.[1]
Patch 2.0.1 (2006-12-05): Added.

References

Trinket Slot Macro Wow

  1. ^Iriel and slouken 2007-08-08. Re: Upcoming 2.3 Changes - Concise List.

Trinket Slot Macro Wow Classic

Retrieved from 'https://wow.gamepedia.com/Macro_conditionals?oldid=5909111'