void main()
{
object oDamager = GetLastDamager();

int nCurrent = GetCurrentHitPoints(OBJECT_SELF);

int n50 = GetLocalInt(OBJECT_SELF, "Notice1");
int n25 = GetLocalInt(OBJECT_SELF, "Notice2");
int n10 = GetLocalInt(OBJECT_SELF, "Notice3");

if ((nCurrent <= 50)&&(n50 == FALSE))
 {
 FloatingTextStringOnCreature("You must hack your way out if you're going to survive!", oDamager);
 SetLocalInt(OBJECT_SELF, "Notice1", TRUE);
 }

if ((nCurrent <= 25)&&(n25 == FALSE))
 {
 FloatingTextStringOnCreature("The stomach lining of the Dinichthys is beginning to give way!", oDamager);
 SetLocalInt(OBJECT_SELF, "Notice2", TRUE);
 }

if ((nCurrent <= 10)&&(n10 == FALSE))
 {
 FloatingTextStringOnCreature("Quickly!  You are almost free from the Dinichthys!", oDamager);
 SetLocalInt(OBJECT_SELF, "Notice3", TRUE);
 }

}
