Not to damper the idea but doesn't the hero chat plugin do this? http://dev.bukkit.org/bukkit-plugins/herochat/
Hero chat does this already Edit: Lel just read the post above mine, yes hero chat does indeed accomplish this.