the monster who killed you,
the map
the date and time
Note : make a deathlog.txt inside your control folder
Code: Select all
#######################################
##############LOG ON DEATH#############
#######################################
automacro LogOnDeath {
console /^You have died/i
call {
do eval open(FILE, ">>", Settings::getControlFilename("deathlog.txt")); print FILE "Killed by $.lastMonster at $.map | $.datetime \n"; close FILE;
}
}