Ok so basically I want a macro that does the following.
Silence on cursor, or last target if cursor is not on enemy.
At the same time I want shadow fiend cast as well on this person. Basically whenever I silence it should summon my shadow fiend. I got below from a forum, and it is just a snippet so I do not know if it is correct.
/cast [nomod,harm,exists] Shadowfiend
/stopmacro [mod:shift][harm,exists]
/targetenemy
/cast Silence
/cast Shadowfiend
/targetlasttarget