PS: doPoison is not called because it was there just for demonstration. It will be part of greater plugin ;-)
And about Ham_TakeDamage - i thought that it's triggered when i use set_user_health, but it really doesn't make sense (i am setting user's health, not dealing damage to him, so really no reason to trigger ham_takedamage) :-D