it’s way more reliable to just do 3 seperate macros for 1-2-3 otherwise you’re prone to accidentally button mash and select the wrong guy
you could just set a keybind in the controls menu for select next target friendly player i use caps lock for that