Whats the command to let the person know you casted pet sack or let freedom on the person?
I’m guessing one of those is Roar of sacrifice and the other is Master’s call.
Below are commands for generating chat text
/s /p /w /y /i /r
https://wowpedia.fandom.com/wiki/Macro_commands
All of these are off the gcd and can be added into macros with regular abilities.
You can use substitution variables for your focus and target (%f %t) but can’t do any other unitid (like party1, party2, etc…)
So you could have
#showtooltip
/cast Roar of Sacrifice
/stopmacro [@target, dead][@target,harm]
/s My name cast Pet sac on %t
The problem with that is it’s not foolproof. There’s absolutely no macro command to check if the spell cast was successful. If there’s no los or the ability is on cd or whatever, the spell will fail but your chat text will still get said.
The only way to trigger chat text of some sort on a successful spell cast is with an addon because it requires handling the COMBAT_LOG_EVENT spell cast success. Weak auras allows you to create auras that do that but there’s probably a less complicated addon dedicated to doing announcements
This might be what you are looking for