begin npcdeath
short OnDeath
short doonce
if ( doonce == 1 )
return
endif
if ( OnDeath == 1 )
set doonce to 1
Journal "name of entry here"
return
endif
end
I would attach this script to the NPC to be killed (or whichever script version works correctly). Is this script correct?