Player tracker?
I want to set up a little quest which would track when a player levels up and write that information into a text file on server side.
The practical usage for this is for example to give award to say first warrior to reach level 50 Could you guys help me out? |
quest::write(file,string)
Can save any info you want to a txt file this way. |
ok this is what I have put together for player.pl
Code:
does this looks right? Also does quest::write includes some sort of time stamp when it makes an entry into a file? thanks! |
Try this:
Code:
$timestamp = localtime(time); |
thanks Trev! I will try this out today!
|
All times are GMT -4. The time now is 05:53 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.