Invite and apply icons macro

I’m trying to create a single macro that will invite another player and assign icons to each of us .
I tried to use [nomod] with /invite but it doesn’t work.
/invite [nomod] buddy
/stopmacro [nomod]
/target buddy
/script SetRaidTarget(“target”,1)
/script SetRaidTarget(“player”, 2);

My friend and I are both in our late 60’s and are eyes are getting old. The icons make it a little easier to see each other.

Left click invite, right click set markers

/tm [btn:2,@player] 1
/tm [btn:2,@party1] 2
/stopmacro [btn:2]
/invite buddy

Nomod invite, modifier set markers

/tm [mod,@player] 1
/tm [mod,@party1] 2
/stopmaco [mod]
/invite buddy

Elevnbane. Thanks for the help, but I couldn’t get that to work.
The error is ‘cannot find player [btn:1] buddy’

Reordered them so they should work properly.

Works like a champ! Thank you very much for the help.