Currently, the only way to hook events is by using a script and passing them to a DLL.