Thanks playboy you are a champ!


Quote Originally Posted by Proteus View Post
I threw this together quick, give it a shot I think it can do what you'd like:

Code:
blockedMessages = {"New mail has arrived.", 

}

local channel = Channel.New("Raid Messages", onSpeak, onClose)
GenericTextMessageProxy.OnReceive("GenProxy", function (proxy, message)
	x = string.match(message, "(%d+)")
	if tonumber(x) == nil and not table.contains(blockedMessages, message) then
		channel:SendOrangeMessage("Raid Catcher", message)
	end
end)

function onClose(channel)
	print(channel .. " was closed.")
end

It reads your messages and separates what has a number in it and what doesn't (from what I've seen, most raid messages don't have a number in it so it's a decent filter)

If you see some random messages getting through, add it to the blocked list and they wont enter the channel anymore

Let me know if it works well for yah ^^