I am currently speced at 0/51/17 and am using this macro to spam behind my warrior.
# showtooltip Frostfire bolt
#show Frostfire bolt
/script UIErrorsFrame:Hide()
/cast Combustion
/cast Icy Veins
/script UIErrorsFrame:Clear(); UIErrorsFrame:show()
/cast Frostfire bolt

I got this from a few different sites but what i would like to do is add Living Bomb into the macro. What i would like to add to the macro is a conditional cast, if the target does not have the living bomb buff cast and if it does cast frostfirebolt. Can that be done?