/Party not working before /script LeaveParty()

Hi Everyone,

I am a tank and I try to make a macro to say thank you, then leave the group and queue for another instance… The leave and queue part are working fine but I think the leave is too quick for my /party to work. I tried to add a pause but apparently blizzard don’t let you pause because that will be an easy way to cheat and the command /in 1 is also not working anymore… Anyone know how I can make a polite macro?

This is my code:

/party Thank you Everyone. Have fun!
/script LeaveParty()
/click LFDQueueFrameFindGroupButton

Thx:)

/in is a command provided by an addon called SlashIn.

It doesn’t work with that specific /click though
This works.
/party Thank you Everyone. Have fun!
/in 3 /script LeaveParty()

But this:
/party Thank you Everyone. Have fun!
/in 3 /script LeaveParty()
/in 4 /click LFDQueueFrameFindGroupButton
Results in a blocked action message.

1 Like

Thx, I will take a look at this addon:)

Best of luck.

And if it were me…

/e thumps her chest with respect
/party Peace.  Out.
/in 3 /script LeaveParty()

(the chest thump really makes it)

lol,

I tried that with and without the /in and apparently blizzard not want me to create a nice macro, so I guess I will have to be rude

/script SendChatMessage(“Thank you Everyone. Have fun!” ,“PARTY”, “COMMON”);
/script LeaveParty()
/script LFDQueueFrame_Join()

/script SendChatMessage(“Thank you Everyone. Have fun!” ,“PARTY”, “COMMON”) LeaveParty() LFDQueueFrame_Join()

Put them all on 1 line.

It refuse to work when I copy and past it in one line:/ I am now searching more documentation about the /script command;) I hope I will find more info soon :slight_smile:

You could use a simple cast sequence macro and push the button twice… Not sure how important that single press is to you lol

For future reference, this is how I fix my macro. between every command you need to put a “;” like in pascal. I also had to also use the addons slashin and MacroTalk (/gr)

/gr Thank you Everyone. Have fun
/in 1 /script LeaveParty(); LFDQueueFrame_Join();

2 Likes

as of 9.0 try this.
/script C_PartyInfo.LeaveParty()

3 Likes

/script C_PartyInfo.LeaveParty(1) = leave regular party

/script C_PartyInfo.LeaveParty(2) = leave instance party

2 Likes