The event is signalled by checkwordblock() in inc/common.php. You can use this event to take action if a wordblock occurs.
The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.
