can someone help me change this chat message to instead of just linking the chat message, make the WA say "E'ko on me"?
function(event, message)
local inGroup = UnitInParty("player")
local inRaid = UnitInRaid("player")
if message and message:find("You receive loot") and message:find("Winterfall E'ko") then
if inGroup and inRaid then
SendChatMessage(message, "RAID",nil)
return true
elseif inGroup and not inRaid then
SendChatMessage(message, "PARTY",nil)
return true
else
return true
end
end
end