1. #1

    Guild Demote Macro

    I am looking for a quick macro to;

    Demote all Players from Rank 4 to Rank 7 if they haven't been online in over 1 year

    I tried a few addons but some seemed to kick only so didn't want to use them

  2. #2
    I haven't tested, so test this one first. If it demotes exactly one person and demotes them correctly, then use the second one.
    Code:
    /run local a=1 for i=1,GetNumGuildMembers()do local y=GetGuildRosterLastOnline(i)if a and y and y>0 then local  n,_,r=GetGuildRosterInfo(i)if r==4 then while r<7 do  GuildDemote(n)r=r+1 a=nil end end end end

    Code:
    /run for i=1,GetNumGuildMembers()do local y=GetGuildRosterLastOnline(i)if y and y>0 then local n,_,r=GetGuildRosterInfo(i)if r==4 then while r<7 do GuildDemote(n)r=r+1 end end end end

  3. #3
    I just tested the first one and I'm afraid it didn't work,

  4. #4
    So what happened when you ran it?


Posting Permissions

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