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!