Detecting multiple users of an addon in a group
I was wondering if someone had any ideas on how to detect if other people are using one of my addons (ComeAndGetIt) I have experimented with using the party member changed events and send addon message (including registering the prefix) but I am unsure of how to get the addon to decide who's addon should be the one to announce and who's should be quiet... I was looking at things like if the person is the party leader/ raid officer, addon version, and such. I was trying to figure out what info I need to keep, or not even use and what not.
I was thinking of a table of the group members( so I can see if the group indeed changes when the group changed events fire as it seems to fire randomly at times for no reason). Taking the info broadcast above and if they have a higher version, or the same version and officer then let them announce but I am not sure if I am missing something in my thoughts to implement for this to work
|