Trinket Slot Macro Classic Wow

You cant use if statements in WoW Macros, or any decision operators with Blizzards LUA. Hypothetical code would be something like /run if GetItemCooldown('Mark of Supremacy')0 then UseAction(62) end; Where Mark of Supremacy is the item and 62 is actionbar slot Can use external program to bypass this however, PM if want more info. /use slot This form of use allows you to use an item in the specified slot. See also InventorySlotId for lists of the slot numbers. Example: /use 13 Uses whatever is in your top trinket slot. /use slot You can also use an item in a specific bag location. To make a macro trinket, you will want to utilize the “/use” macro command. Your trinkets are in slot 13 and 14, so to use one the command is: /use 13 Since trinkets are on the global cooldown, you can combine them with any spell you want afterwards. If you can bind a macro the same way as you do with targetable spells with vuhdo you can just bind '/use 13' or '/use 14', depending if the trinket is on the first or second trinket slot. This will work with any on use trinket, without modification, so keep the macro&bind and allways put the trinkets in the same slot.

SlotTrinket Slot Macro Classic Wow

Trinket Slot Macro Classic Wow Addon

Trinket slot macro classic wow addon

Use Trinket Slot Macro Wow Classic

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.