Affliction Warlock macros

I’m trying to write my first combat macro. It’s for an Affliction Warlock. I want to cast several spells with one macro. I asked CoPilot how to do it and here are a couple suggestions I got. I tried them and they didn’t work. Nothing happened. Can I have some advice? Thanks :slight_smile:

First Macro

#showtooltip Agony
#showtooltip Wither
#showtooltip Unstable Affliction
/cast [@mouseover,harm] Agony
/cast [@mouseover,harm] Wither
/cast [@mouseover,harm] Unstable Affliction

Second macro

#showtooltip /castsequence reset=target/combat Agony, Wither, Unstable affliction, haunt, malefic rapture

the castsequence shouldn’t be on the same line as the showtooltip