i need to add npc that hail Hp's where i can do that, i found the code, but where i should put that?

or can some1 gimme the method again?
Thanks