Extend Head Dropping To Other Death Causes

I'm not too familiar with CommandHelper API, is this too simplistic to work?