I was trying to get my macro to work so I could see how many Hibicus I needed to turn in to be exalted and it just returns back 111400 for me (I am 200 away from revered).
Code:
/run local name; for i=1, GetNumFactions() do name=select(1,GetFactionInfo(i)); if(strfind(name, "Sporeggar")) then ChatFrame1:AddMessage( ceil((43000-select(6, GetFactionInfo(i))-(GetItemCount("Sanguine Hibiscus")/825))*5) ); end; end;
Also, this macro I made works just fine.
Returns Skyguard kills (approx).
Code:
/run local name; for i=1, GetNumFactions() do name=select(1,GetFactionInfo(i)); if(strfind(name, "Skyguard")) then ChatFrame1:AddMessage( ceil((43000-select(6, GetFactionInfo(i)))/11) ); end; end;
anyone have any ideas?