Is it possible to do a weakauras auto inviter?
I see it has a whisper trigger but I don't think it passes who sent the whisper.
Is it possible to do a weakauras auto inviter?
I see it has a whisper trigger but I don't think it passes who sent the whisper.
WeakAuras is best used for something visual, and maybe auditory.
If you are not using the alerting features then you are getting close to what should be a separate addon in its own right.
Likely easier to isolate the problem too.
You could make a custom event that triggers on chat_msg_whisper and then runs something like this for the custom trigger (and an untrigger that just returns true):
As mentioned: just because you can doesn't mean that you should.There are purpose built addons that will do a much better job and this really isn't a good use of weak auras.Code:function(event_type, message, sender,...) if string.find(message, 'inv') then InviteUnit(sender) end return false end
A new UI series for 5.2 • Steal my old UI • Learn about WeakAuras • Nobody to raid with right now so no PVE videos.
Yeah I realize its not what its really meant for. I was just noticing that several other addons functionality could be emulated with weak aura's and was seeing how far I could take it.
Thanks for the tips.
There are both pros and cons to developing something you may consider "addon-worthy" in WeakAuras instead of in an addon environment. WeakAuras is probably the much better choice for someone who's a beginner at LUA, especially if you're just trying to do something simple.
But often times those addons can have a lot of other features the user may consider "bloat" and a simple WeakAura can serve that purpose in an efficient manner.