Affliction beta

I was asked to make a Warlock macro for one of my friends who wanted to be affliction even if the other specs are better. please test this out so that I can fine tune it. This will cast the void walker in no groups and well cast the imp in groups or parties if you have no pet. This will also cast dots on all targets once you switch targets. The other thing this macro does is will make sure to you have 100% uptime of agony on a single target. For more than one target I would suggest having agony on your action bars for those cases so that you can cast it other targets before it runs out on them. Being that Agony is a soul shard generator it is important to keep this on as many targets as possible at as close to 100% uptime.

Sequences['AFFICATION'] = {
-- This Sequence was exported from GSE 2.3.00.
  Author="Ripshawn",
  SpecID=265,
  Talents = "1332211",
  Default=1,
  MacroVersions = {
    [1] = {
      StepFunction = "Sequential",
      LoopLimit=1,
      KeyPress={
        "/targetenemy [noharm][dead]",
        "/cast [nopet,party,group] 688; [nopet] 697",
      },
      PreMacro={
        "/castsequence [nochanneling] reset=target  980, 172",
      },
        "/cast [nochanneling] 3716",
        "/cast [nochanneling] 30108",
        "/cast [nochanneling] 232670",
        "/cast [nochanneling] 232670",
        "/cast [nochanneling,@cursor] 278350",
        "/cast [nochanneling,mod:shift.Talent:4/2] Phantom Singularity",
      PostMacro={
      },
      KeyRelease={
        "/petattack",
      },
    },
  },
}