From d612d64d61be3427e240d63854c512d199765ef9 Mon Sep 17 00:00:00 2001 From: "Erik L. Vonderscheer" Date: Thu, 25 Jun 2009 06:29:39 +0000 Subject: [PATCH] Modified the SPAM frame output --- TradeFilter3.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/TradeFilter3.lua b/TradeFilter3.lua index 3b0b2ba..5191a62 100644 --- a/TradeFilter3.lua +++ b/TradeFilter3.lua @@ -276,6 +276,15 @@ end --[[ Filter Func ]]-- function TF3:FilterFunc(...) local filterFuncList = ChatFrame_GetMessageEventFilters("CHAT_MSG_CHANNEL") + if (arg8 == 1) then + chan = "1. General" + elseif (arg7 == 2) then + chan = "2. Trade" + elseif (arg7 == 26) then + chan = "26. LFG" + else + chan = "0. Say/Yell" + end local arg1 = lower(arg1) if (filterFuncList and self.db.profile.turnOn) then filtered = true @@ -325,7 +334,7 @@ function TF3:FilterFunc(...) end --@end-alpha@ if (self.db.profile.redirect) then - TF3:FindFrame(redirectFrame, "zID:" .. formatIt(CHAT_CHANNEL_GET, arg7) .. " cID:" .. formatIt(CHAT_CHANNEL_GET, arg8) .. " - " .. formatIt(CHAT_CHANNEL_GET, arg2) .. arg1) + TF3:FindFrame(redirectFrame, "|cFFC08080[" .. chan .. "]|r |cFFD9D9D9[" .. arg2 .. "]:|r |cFFC08080" .. arg1 .. "|r") end lastArg1, lastArg2 = arg1, arg2 end -- 1.7.9.5