Close
Showing results 1 to 4 of 4
  1. #1

    Default Macro to start dungeon finder if in my party 2 players

    How to start a dungeon finder only in party with 2 persons

    My try but not working
    /script partyMembers = GetNumPartyMembers()
    if (partyMembers == 2) then /click LFDQueueFrameFindGroupButton

  2. #2

    Default

    Can't do /click in an if statement, but it'll work this way
    /run if (GetNumGroupMembers()==2) then LFDQueueFrameFindGroupButton:Click("left",true) end
    or
    /run local partyMembers=GetNumPartyMembers(); if (partyMembers==2) then LFDQueueFrameFindGroupButton:Click("left",true) end

    ( /run is the same as /script )

    Looking further, it's possible "left" should be "LeftButton", but it seems to work anyway
    Last edited by MiRai : 03-31-2017 at 01:04 AM Reason: Formatting

  3. #3

    Default

    Quote Originally Posted by Ikevink View Post
    Can't do /click in an if statement, but it'll work this way
    /run if (GetNumGroupMembers()==2) then LFDQueueFrameFindGroupButton:Click("left",true) end
    or
    /run local partyMembers=GetNumPartyMembers(); if (partyMembers==2) then LFDQueueFrameFindGroupButton:Click("left",true) end

    ( /run is the same as /script )

    Looking further, it's possible "left" should be "LeftButton", but it seems to work anyway
    thank you its working but GetNumPartyMembers() - Returns the number of players in your party, excluding yourself, so need to change this "GetNumGroupMembers()==1"
    Last edited by megamozg : 03-31-2017 at 10:23 AM

  4. #4

    Default

    Should not really help or talk about private servers u would off been better leaving that out!




Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •