arg.. i wrote a good post about what i was doing but the anti ddos thing ate my reply....
Anyway im looking into this, but im inexperienced with wow AddOns. I think i can do it by just changing to something like:
- Code: Select all
local buffIndex, untilCancelled = GetPlayerBuff(BS_TEST[this:GetID()], "HELPFUL|HARMFUL");
so far like this i can order the list, but running into a few bugs. Ill reply soon, if i can do this or not. Ill give it a good 'ol crack.
Any experienced AddOn Authors out there know what is the easy way to inspect variables? I really hate doing a
- Code: Select all
DEFAULT_CHAT_FRAME:AddMessage(type(BS_buffIndex[x]));
type of thing whenever i want to look at a variable, its really painful especially when im working with multidimensional tables etc.. Is there no pretty print that i can use to dump the variable?