UMmm yeah i kinda posted the /hp command already =/
EDIT: Updated one to prevent bugs from reviving
Code:
if (Splitter[0] == "/hp")
{
if (MyChar.Alive == true)
MyChar.CurHP = MyChar.MaxHP;
SendPacket(General.MyPackets.Vital((long)MyChar.UID, 0, MyChar.CurHP));
}