TBC Shadow Priest Complete Rotation

Hello everyone,

I have a few macro issues which I just can’t find the fix or don’t have the smarts to make work. My Warrior has a Sunder Armor action in the Keypress section with a , nul at the end. When I use it initially on the target it will Sunder once and they process sequentially the Sequence section which is /cast Bloodthirst etc.

I did the same and replaced Sunder Armor with Shadow Word: Pain, but instead of firing SWP once it just keeps firing SWP over and over.

I then tried putting /cast Shadow Word: Pain in the sequence section and it didn’t even fire once. ??

This is what I have. My goal is to have one hold down PvE macro. That targets a live, dangerous mob directly in front of me.

What I think I have is:
Applies SW:P and then Vampiric Embrace once so after that I have to reapply.
It then applies Vampiric Touch with a timer to reapply at the expiry.
It then fires Mind Blast and then 2 x Mind Flay which can’t be cut short by my spells.

What I would like in addition is a second macro that also applies SW:P and Vampiric Embrace when their cool down is up

Keypress
/targetenemy [noharm][dead]
/cleartarget [dead]
/startattack
/castsequence reset=combat Shadow Word: Pain, nul
/castsequence reset=combat Vampiric Embrace, nul

Sequence
/castsequence reset=combat/15 Vampiric Touch
/cast Mind Blast
/cast [nochanneling:Mind Flay] Mind Flay
/cast [nochanneling:Mind Flay] Mind Flay

I’m running 150ms delay. And hold down the key constantly.

Any help would be fantastic and very welcome. For some reason I’m failing to make it work.

Thank you all for your time.