Log On Death Macro =)

Moderator: Moderators

Message
Author
gamenikko
The Way Of Human
The Way Of Human
Posts: 192
Joined: 16 Aug 2009, 03:47
Noob?: Yes
Location: Gonryun

Log On Death Macro =)

#1 Post 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;
   }
}

Last edited by gamenikko on 01 Feb 2010, 05:10, edited 3 times in total.
Just like old times.

Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Re: Log On Death Macro =)

#2 Post by Mushroom »

Moving to Share Macros, because there is the place to share your working macros^^
Quit.

midnytblu
Developers
Developers
Posts: 90
Joined: 14 Apr 2008, 09:37
Noob?: No
Location: prt_fild08 134 362

Re: Log On Death Macro =)

#3 Post by midnytblu »

Autopsy works as good. 8-)

raisencross
Noob
Noob
Posts: 1
Joined: 31 Jul 2010, 16:58
Noob?: Yes

Re: Log On Death Macro =)

#4 Post by raisencross »

Cool.. thanks!

hunter101
Noob
Noob
Posts: 7
Joined: 29 Oct 2010, 12:06
Noob?: No

Re: Log On Death Macro =)

#5 Post 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?

Post Reply