Thread: Player tracker?
View Single Post
  #3  
Old 07-14-2009, 08:32 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

ok this is what I have put together for player.pl

Code:

sub EVENT_LEVEL_UP 
{
        
	if($ulevel==50)
	{

	$client->Message(15, "You've achieved level 50!");

        my $string=" $name the $class has achieved level $ulevel ";

        quest::write("50.txt", $string);

}

does this looks right?

Also does quest::write includes some sort of time stamp when it makes an entry into a file?

thanks!
Reply With Quote