Wow Use Trinket Slot Macro

 
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.
Wow macro use trinket slot 1ClassicWow Use Trinket Slot Macro

Wow Macro Use Trinket Slot 1

Tip: Shift-click the spell you want to use in your spellbook while in the Create Macros window,that way the spelling is always correct. #showtooltip: Shows the tooltip of the ability you are using. #show:Does not show the tooltip but still shows the cooldown. /use 13: activates trinket 1 ( top one) /use 14: activates trinket 2 (bottom one). First, open up the macro window. You can do this either by opening the main menu and selecting Macros, or by typing /macro (/m) in the chat box. At the top of the window, you'll see two tabs: General Macros and Yourname Specific Macros. General macros are stored on an account-by-account basis and are shared by all your characters. 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. Yes - there are multiple ways of identifying it: - simply the name of the trinket: /use Token of Strength OR /use 13 (top trinket slot in character pane, 14 is the bottom).