Macro to start premade group?

As a Collector, I am cursed to walk this earth in it’s legacy time and farming old donjons and raids is my near day to day activity. I use the good old “create premade group and leave party” trick to leave the instance quickly ( well, after a minute of waiting ). I’ve looked for a macro to automate a bit the process but didn’t manage to find one. Group Finder > Premade Group > Start Group > Name and List Group > Leave Group is fast but still slower than a button click. Does anyone know of a macro that could do that ?

Try this one

Hey you again :smiley: Hi, thanks. It is the one I found when scouting the web, but nothing happens with it. I try inside and outside a donjon, with or without group, I don’t get no error but nothing happens so i don’t know. I also don’t understand the first part, am I the “a” in this situation, like inviting myself ? I trying my name but still did nothing. I’ll continue shearshing. Again thank you elven for the help ^^

Ya, you’d need to replace "a" in C_PartyInfo.InviteUnit("a"); with someone that actually exists.

You can’t create a premade group via a macro since 8.0
https://www.mmo-champion.com/threads/2324447-Macro-to-list-groups?p=50251615&viewfull=1#post50251615

If I don’t even read your comment right no surprise stuff don’t work for me xD But Thank you, I use the name of one my alt and it work like a charm :smiley:
( Tip for anyone farming Stratholme, don’t use that cause it spawn you in Westfall )