Thread: Logging quests
View Single Post
  #3  
Old 11-28-2008, 08:56 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

It might not work exactly as you want for everything, but I use this alot for tracking turn-ins and kills:

Code:
sub EVENT_DEATH {

$timestamp = localtime(time);

quest::write("bossdeaths.txt","[$timestamp]:$mname was killed by $name the $class.");

}
Or

Code:
sub EVENT_ITEM {

$timestamp = localtime(time);

  if (plugin::check_handin(\%itemcount, 4700 => 1)) {
    quest::say("Thank you, $name, here is your reward!");
    quest::exp(999);
    quest::ding();
    quest::summonitem(1234);
    quest::write("quests.txt","[$timestamp]:$name the $class completed the [insert quest name here] Quest in $zonesn.");
  }

}
They make it very easy to keep track of important things you want to track without feeding through tons of logs.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote