Download
(58 Kb)
Download
Updated: 07-19-07 05:33 AM
Pictures
File Info
Updated:07-19-07 05:33 AM
Created:unknown
Downloads:2,022
Favorites:1
MD5:
Guild Whisper Invite
Version: 1
by: Esteth [More]
Guild Whisper Invite allows you to define a keyphrase, that when whispered to you, will automatically invite the person who whispered the phrase to you to the guild, assuming you have guild invite privileges.

It was written on request for Thunder, on the wowace suggestion forums.

Use /gwi or /GuildWhisperInvite to access the text-based menu.

/gwi phrase <thephrase> changes the keyphrase to the phrase of your choice
Optional Files (0)


Post A Reply Comment Options
Unread 07-19-07, 02:38 PM  
Kyahx
A Wyrmkin Dreamwalker
 
Kyahx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 34
Uploads: 9
This mod does NOT NEED to use Ace2, in-fact, this mod is so simple that it should require NO-FRAMEWORK whatsoever. The basic functionality of this mod can be re-created in 8 lines of code

Code:
local key = 'invite me'
local f = CreateFrame("Frame")
f:RegisterEvent("CHAT_MSG_WHISPER")
f:SetScript("OnEvent", function(self, event, msg, author)
    if msg == key and CanGuildInvite() then
        GuildInvite(author)
    end
end)
and the slash command stuff can be added rather simply too. I've re-coded it myself (including all of your slash command stuff) to be a whopping 21 lines and zero dependencies / libraries. Let me know if you are interested.

(I know this is your first mod, and I fully intent this post to be educational. Ace2 is a nice tool for big projects, but people really need to learn the basics with no framework first.)
Kyahx is offline Report comment to moderator  
Reply With Quote
Unread 07-19-07, 10:07 AM  
Thuunder
A Kobold Labourer
 
Thuunder's Avatar

Forum posts: 0
File comments: 1
Uploads: 0
Nice job

Thanks a lot for a really nice addon. I'm really looking forward to seeing this in action with my own guild in the future. Also I hope several others get use for it aswell as me and my guild!
__________________

-There's no such thing as real-life, there's only AFK-
Thuunder is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: