Page 1 of 1

Log On Death Macro =)

Posted: 25 Jan 2010, 19:57
by gamenikko
basically it will log your death,
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;
   }
}


Re: Log On Death Macro =)

Posted: 25 Jan 2010, 20:59
by Mushroom
Moving to Share Macros, because there is the place to share your working macros^^

Re: Log On Death Macro =)

Posted: 26 Jan 2010, 00:27
by midnytblu
Autopsy works as good. 8-)

Re: Log On Death Macro =)

Posted: 05 Aug 2010, 16:08
by raisencross
Cool.. thanks!

Re: Log On Death Macro =)

Posted: 01 Nov 2010, 03:30
by hunter101
the code does not show the monster name. And I can't seem to make the autopsy plugin work. needs update? when I checked log.pm deathlog is not there? is this feature scrapped?