Chat sounds in existing IM window

If I have a messaging window open with someone, I want to be able to hear a sound of some sort every time the other person sends (or I send - some people like that), not just if the window isn’t in the foreground.

Maybe this is already there and I just missed it?