I once told someone who kept asking me to join their new guild that I couldn't because I was trial, then got abuse - "haha noob you're not a trial you have heirlooms, liar". Oh dear oh dear.
Why be a jerk and make someone go do something or give them hope that if they do something then you will join? You know that will more then likely just make them mad if they do w/e and then try to inv you and find out you can't join. They are after all just trying to recruit for a guild..
If it's a spam msg that obviously goes out to everyone I normally ignore it but if it's someone who typed it up while seeing me somewhere then I say sorry I'm trial can't join guilds. If they follow up with any kind of stupid remark about trials ignore/block them?
Jsu8, is easily confused what Mestuk is trying to say, I think, is what do you say when someone asks you to join their guild? I say " I am a trial account, otherwise I would be in a guild right now."
I correct their spelling, punctuation, capitalization, and grammar.
No, but I would join <Grammar Nazis United>Would you like to join <GNU>?
Grammer Nazis United....
local response = "Trial accounts cannot join guilds or sign guild charters."
local f = CreateFrame("frame")
f:RegisterEvent("CHAT_MSG_WHISPER")
local function F2PGuild_FilterIncoming(self, event, ...)
local msg, sender, _, _, _, flags = ...
local f_num = GetNumFriends()
local isafriend = 0
for y = 1, f_num do
local name, level, class, loc, connected, status = GetFriendInfo(y)
if name == sender then
isafriend = 1
end
end
if (isafriend == 0) and (not msg:match(response)) and (msg:lower():match("guild") or msg:lower():match("charter")) and (F2PAddon_Variables.Settings.BlockGuildInviteWhispers == 1) then
return true
end
end
local function F2PGuild_FilterOutgoing(self, event, ...)
local msg = ...
if msg:match(response) then
return true
else
return false
end
end
ChatFrame_AddMessageEventFilter("CHAT_MSG_WHISPER", F2PGuild_FilterIncoming)
ChatFrame_AddMessageEventFilter("CHAT_MSG_WHISPER_INFORM", F2PGuild_FilterOutgoing)
--I know the SendChatMessage() could have been called in the filter function above, that is practically identical to this,
--but for some stupid reason the filter gets triggered twice on an incoming message, so 2 whispes get sent, while this ensures that only one goes out
f:SetScript("OnEvent", function(self, event, ...)
if event == ("CHAT_MSG_WHISPER") then
local msg, sender, _, _, _, flags = ...
local f_num = GetNumFriends()
local isafriend = 0
for y = 1, f_num do
local name, level, class, loc, connected, status = GetFriendInfo(y)
if name == sender then
isafriend = 1
end
end
if (isafriend == 0) and (not msg:match(response)) and (msg:lower():match("guild") or msg:lower():match("charter")) and (F2PAddon_Variables.Settings.BlockGuildInviteWhispers == 1) then
SendChatMessage(response, "WHISPER",nil, sender)
end
end
end
)
Aaaand another new feature goes into the addon.
I won't be seeing any more whispers from strangers mentioning either the words 'guild' or 'charter'
Code:local response = "Trial accounts cannot join guilds or sign guild charters." local f = CreateFrame("frame") f:RegisterEvent("CHAT_MSG_WHISPER") local function F2PGuild_FilterIncoming(self, event, ...) local msg, sender, _, _, _, flags = ... local f_num = GetNumFriends() local isafriend = 0 for y = 1, f_num do local name, level, class, loc, connected, status = GetFriendInfo(y) if name == sender then isafriend = 1 end end if (isafriend == 0) and (not msg:match(response)) and (msg:lower():match("guild") or msg:lower():match("charter")) and (F2PAddon_Variables.Settings.BlockGuildInviteWhispers == 1) then return true end end local function F2PGuild_FilterOutgoing(self, event, ...) local msg = ... if msg:match(response) then return true else return false end end ChatFrame_AddMessageEventFilter("CHAT_MSG_WHISPER", F2PGuild_FilterIncoming) ChatFrame_AddMessageEventFilter("CHAT_MSG_WHISPER_INFORM", F2PGuild_FilterOutgoing) --I know the SendChatMessage() could have been called in the filter function above, that is practically identical to this, --but for some stupid reason the filter gets triggered twice on an incoming message, so 2 whispes get sent, while this ensures that only one goes out f:SetScript("OnEvent", function(self, event, ...) if event == ("CHAT_MSG_WHISPER") then local msg, sender, _, _, _, flags = ... local f_num = GetNumFriends() local isafriend = 0 for y = 1, f_num do local name, level, class, loc, connected, status = GetFriendInfo(y) if name == sender then isafriend = 1 end end if (isafriend == 0) and (not msg:match(response)) and (msg:lower():match("guild") or msg:lower():match("charter")) and (F2PAddon_Variables.Settings.BlockGuildInviteWhispers == 1) then SendChatMessage(response, "WHISPER",nil, sender) end end end )
Bless you Yasueh
Edit: and 1000 post. Never posting again.