Close
Showing results 1 to 4 of 4

Threaded View

  1. #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

Posting Rules

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