The line in the test_action should be
my.emask |= ENABLE_BLOCK;

And the event function should work fine with
function test_event() { if(event_type == EVENT_BLOCK) sys_exit("bye bye ..."); }


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial