DeclineGroup() replacement?
Hello,
I've been trying to do something with DeclineGroup(), but after trying it manually in the chat as well as in my code ( Code:
/run DeclineGroup() TIA |
What makes you think that DeclineGroup is "not working" ? If you think that because it's not hiding the invitation popup, you are mistaken -- you need to either hide the popup yourself (declining a group doesn't cause any event to fire, so the popup can't detect when you decline and hide itself) or just hide the popup instead of calling DeclineGroup (since it does that automatically when hidden).
If you're trying to do something other than "automatically decline groups and hide the popup" please be more specific. |
Thanks for the clarification, I just assumed that it would hide the popup with it since there was no indication of the group invitation being declined when I ran DeclineGroup, I'll hide the popup, thank you.
|
hi! is there a way to get confirm that it was really declined? :)
like log message that always shows for use when we do it manual ("you declined party invitation") |
Quote:
i just do DeclineGroup() and then hide the popup, |
Quote:
|
Any chance you could make that into an addon? I have been looking for an addon that will automatically decline all group invites and hide/remove the popup. I only do groups with friends and when that happens i can always disable it temporary or invite them myself.
|
This is a modified version of my personal AntiDuel addon to respond to party invites.
Lua Code:
Though in all honesty, you could just run the following to stop the UI from processing party invites. This won't actually decline the invite, but it'll stop the UI from telling you about it. Code:
UIParent:UnregisterEvent("PARTY_INVITE_REQUEST"); |
All times are GMT -6. The time now is 07:55 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI