I think i figured out a solution, its using Macros. With Macros I can do this:
Which allowed me to block attempts of bypassing by a regular event/function.
If anyone has anything else please let me know!
Thanks!