Wondering if anyone has a custom lua that can announce a debuff value in /say. For example if you have 5 stacks of a debuff it would announce "5" or something in say, or, say you have a healing absorption it would announce the absorb amount in /say whenever they receive it or something.
For the stacking debuff announce you can get around having to use lua, you just need multiple weakauras. For every stack you want to announce, you'll need another weakaura.
Example for Kromog's Tank debuff: WA Stack 1 Trigger Tab:
Aura - Warped Armor
Unit - Player
Type - Debuff
Stack count - Checked ||| Operator - = ||| Stack count - 1
Actions Tab:
Under On Show:
Chat message - Checked ||| Message Type - Say
Message Box - 1 STACK
WA Stack 2 Trigger Tab:
Aura - Warped Armor
Unit - Player
Type - Debuff
Stack count - Checked ||| Operator - = ||| Stack count - 2
Actions Tab:
Under "On Show":
Chat message - Checked ||| Message Type - Say
Message Box - 2 STACKS
Etc, etc.
The first WA will announce, "1 STACK" in say chat when you get your first stack, the second will announce, "2 STACKS" in say chat. Just keep copying the weakaura and changing the message/stack count values to reflect the stack you want announced. (To copy a weakaura, open your list of weakauras and right click the one you wish to copy, then click on Duplicate.)
I do not know how to create the absorb amount announce WA you were asking about in the second half of your question.