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