I once made a side script that would detect when I am being damaged and then would send this data to a null bot in the same server who would then kill the person who attacked me.