You can use the

It has a built-in function WriteChat which does what you're asking for.
All you have to do is to hook the ingame packets, (0x3026 in your case) which can be easily done with SroPP as well, just check the thread.
If the type-byte is 20, process the packet yourself and don't relay it to the client. Show your own message, with your own color.