Originally Posted by
tmanowen
Lol tried my best, and ended up i think screwing over my whole addon :O. Might take a look at it tomorrow haha. Good luck to anyone else that can though!
Thanks for trying though
This is the version i'm using btw.
SuperGuildInvite 6.2b - SuperGuildInvite - Guild - World of Warcraft Addons - Curse
I tried editing it some myself, but it didn't work.
I tried changing
Code:
place = strfind(ERR_ALREADY_IN_GUILD_S,"%s",1,true)
n = strsub(msg,place)
name = strsub(n,1,(strfind(n,"%s") or 2)-1)
if format(ERR_ALREADY_IN_GUILD_S,name) == msg then
return "guilded",name
end
to
Code:
place = strfind(ERR_ALREADY_IN_GUILD_S,"%s",1,true)
n = strsub(msg,place)
name = strsub(n,1,(strfind(n,"%s") or 2)-1)
if format(ERR_ALREADY_IN_GUILD_S,name) == msg then
return "invite",name
end
and
Code:
elseif p == "guilded" then
old("|cffffff00<|r|cff16ABB5SGI|r|cffffff00>|r|cffffff00",(format(L["Unable to invite %s. They are already in a guild."],name)),"|r")
SGI_DATA.lock[name] = nil
SGI_BACKUP[name] = nil
WhisperQueue[name] = nil
to
Code:
elseif p == "guilded" then
if shouldWhisper(name) then
SendWhisper(FormatWhisper(PickRandomWhisper(),name),name,1)
end
whisperWaiting[name] = nil
It can't be too far off, right?