Begin "script name"if ( OnDeath == 1 ) Journal "name of journal" 30 endif end
Begin "script name"short doOnceif (GetHealth < 1 ) if ( doOnce == 0 ) Journal "name of journal" 30 set doOnce to 1 endif endif end
short doOnceif ( doOnce ) returnendifif ( GetHealthGetRatio <= 0.04 ) ModCurrentHealth -10000 ; ensure health <= 0 set doOnce to 1 Journal "name of journal" 30endif