As far as I can tell, using SpeakString or even any other function or method that makes the PC speak, does not trigger the OnPlayerChat event.
-Zarathustra217