Something like that? I honestly don’t know if it’ll work, it’s just a conditional I saw mentioned for something else once upon a time. Replace the “Wep name” and “Shield name” with the names of the items ofc.
Either that or just a single string like #showtooltip
/cast [worn:wep name] mortal strike; [worn:shield name] shield slam
Or maybe #showtooltip
/cast [worn:shield name] shield slam; mortal strike
Anyway, not entirely sure which is gonna work best with the tooltip updates so that you can see the cd of what you’re trying to use at least, but you can try 'em out I guess.
I really don’t guarantee any of them will work, I’m just throwing out some vague stuff I barely remember.