I added a Rank to my Guild and had to move the rank up tru the other ranks (because permissions and promotion rights are hirarchical). Unfortunately this messes up ranknumbers as Guildmembers dont seem to have a binding connections to their current rank. I tried to find some script that changes rank but they all dont work.
I used
/run for i=1,GetNumGuildMembers()do local _,_,r=GetGuildRosterInfo(i)if r==7 then SetGuildMemberRank(i,r-1)end end
/run for i=1,GetNumGuildMembers()do local _,_,a=GetGuildRosterInfo(i)if a==7 then SetGuildMemberRank(i,9)end end
/run for i=1,GetNumGuildMembers() do local n,_,a=GetGuildRosterInfo(i) if a==6 then GuildDemote(n) end end
but non seems to work
I simply want to move members from rank x to rank y but i dont get how this is done. Please help, thanks in advance!