Just a share of my Shadow macro

Sequences['Tox-SP'] = {
  Author="Toxinpyre@Stormrage",  
  SpecID=258,
  Talents = "2211121",
  Default=2,
  MacroVersions = {
    [1] = {
      StepFunction = [[Sequential]],
      KeyPress={
        "/targetenemy [noharm][dead]",
      },
      PreMacro={
      },
        "/cast Void Eruption",
        "/cast Void Torrent",
        "/cast [combat,nochanneling] Mind Blast",
        "/cast [combat,nochanneling] Mind Blast",
        "/castsequence [nochanneling] reset=target  Vampiric Touch, Mind Flay, Mind Flay, Mind Flay, Mind Flay, Mind Flay",
        "/cast Void Bolt",
        "/cast Void Bolt",
        "/cast [combat,nochanneling] Shadowfiend",
        "/cast Shadow Word: Death",
        "/use [combat,nochanneling] Fade",
      PostMacro={
      },
      KeyRelease={
      },
    },
    [2] = {
      StepFunction = [[Sequential]],
      KeyPress={
        "/targetenemy [noharm][dead]",
      },
      PreMacro={
      },
        "/cast Void Eruption",
        "/cast Void Torrent",
        "/cast [combat,nochanneling] Mind Blast",
        "/cast [combat,nochanneling] Mind Blast",
        "/castsequence [nochanneling] reset=target  Vampiric Touch, Mind Flay, Mind Flay, Mind Flay, Mind Flay, Mind Flay",
        "/cast Void Bolt",
        "/cast Void Bolt",
        "/cast Void Bolt",
        "/cast [combat,nochanneling] Shadowfiend",
        "/cast Shadow Word: Death",
      PostMacro={
      },
      KeyRelease={
      },
    },
  },
}

black box helps :wink:

Sequences[‘Tox-SP’] = {
Author=”Toxinpyre@Stormrage”,
SpecID=258,
Talents = “2211121”,
Default=2,
MacroVersions = {
[1] = {
StepFunction = [[Sequential]],
KeyPress={
“/targetenemy [noharm][dead]”,
},
PreMacro={
},
“/cast Void Eruption”,
“/cast Void Torrent”,
“/cast [combat,nochanneling] Mind Blast”,
“/cast [combat,nochanneling] Mind Blast”,
“/castsequence [nochanneling] reset=target Vampiric Touch, Mind Flay, Mind Flay, Mind Flay, Mind Flay, Mind Flay”,
“/cast Void Bolt”,
“/cast Void Bolt”,
“/cast [combat,nochanneling] Shadowfiend”,
“/cast Shadow Word: Death”,
“/use [combat,nochanneling] Fade”,
PostMacro={
},
KeyRelease={
},
},
[2] = {
StepFunction = [[Sequential]],
KeyPress={
“/targetenemy [noharm][dead]”,
},
PreMacro={
},
“/cast Void Eruption”,
“/cast Void Torrent”,
“/cast [combat,nochanneling] Mind Blast”,
“/cast [combat,nochanneling] Mind Blast”,
“/castsequence [nochanneling] reset=target Vampiric Touch, Mind Flay, Mind Flay, Mind Flay, Mind Flay, Mind Flay”,
“/cast Void Bolt”,
“/cast Void Bolt”,
“/cast Void Bolt”,
“/cast [combat,nochanneling] Shadowfiend”,
“/cast Shadow Word: Death”,
PostMacro={
},
KeyRelease={
},
},
},
}

Sequences[‘Tox-SP’] = {
Author=“Toxinpyre@Stormrage”,
SpecID=258,
Talents = “2211121”,
Default=2,
MacroVersions = {
[1] = {
StepFunction = [[Sequential]],
KeyPress={
“/targetenemy [noharm][dead]”,
},
PreMacro={
},
“/cast Void Eruption”,
“/cast Void Torrent”,
“/cast [combat,nochanneling] Mind Blast”,
“/cast [combat,nochanneling] Mind Blast”,
“/castsequence [nochanneling] reset=target Vampiric Touch, Mind Flay, Mind Flay, Mind Flay, Mind Flay, Mind Flay”,
“/cast Void Bolt”,
“/cast Void Bolt”,
“/cast [combat,nochanneling] Shadowfiend”,
“/cast Shadow Word: Death”,
“/use [combat,nochanneling] Fade”,
PostMacro={
},
KeyRelease={
},
},
[2] = {
StepFunction = [[Sequential]],
KeyPress={
“/targetenemy [noharm][dead]”,
},
PreMacro={
},
“/cast Void Eruption”,
“/cast Void Torrent”,
“/cast [combat,nochanneling] Mind Blast”,
“/cast [combat,nochanneling] Mind Blast”,
“/castsequence [nochanneling] reset=target Vampiric Touch, Mind Flay, Mind Flay, Mind Flay, Mind Flay, Mind Flay”,
“/cast Void Bolt”,
“/cast Void Bolt”,
“/cast Void Bolt”,
“/cast [combat,nochanneling] Shadowfiend”,
“/cast Shadow Word: Death”,
PostMacro={
},
KeyRelease={
},
},
},
}

It’s easier to take a conventional mod and not to suffer. There are many ready-made options (removed) They work fine.

Why do macro’s not work for me when they use a reset=target function? They spells next to this always show up red

"/castsequence [nochanneling] reset=target Vampiric Touch, Mind Flay, Mind Flay, Mind Flay, Mind Flay, Mind Flay",

So for me the whole maro is locked up because Vamparic Touch in this macro is showing red until I remove reset=target then the macro flows fine