Take a look at this thread:
http://www.gamesas.com/topic/1360112-full-dump-of-all-animation-variables/
Might be of use. You may be able to detect when a player is doing a block animation and then run a script. You'd probably have to do an onupdate event to update ever 0.5-1 seconds, then make the animation check.