Need Help with a Macro - Warlock Affli

Can someone help me to create a Macro for this rotation
https://lockonestopshop.com/#!/Affliction/Rotation
with the talents: 3 3 X 2 1 2 3