Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
racolon
Beginner


Joined: 27 Apr 2003
Posts: 25
Location: USA

PostPosted: Tue Apr 29, 2003 2:48 am   

Kill Count
 
Right now I have a kill count that tells for for every session how many kills I have, but how do I create some time of database or something that stores all the kills all daily kills for a total amount monthly, yearly, whatever.

Let me know

Endora
Ancient Empires
mud.ancientempires.net 5011
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Tue Apr 29, 2003 5:28 pm   
 
I am not to for sure as to monthly or weekly or yearly but I do know total...

take your exsistlg counter and put this in it:

#ad totalkills 1

megamog75
Keeper of the only printable help files for Zmud.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Apr 29, 2003 9:10 pm   
 
You create a database following the instructions in the helpfiles under Introduction to the Database which you'll find on the Contents page. Organize it in any fashion that seems likely to provide the information you want. At the end of each session, you can record the date/time/total for that session and later use that information to calculate totals for any period you wish. Alternatively, at the end of each session you can add the total kills from that session to whichever fields of the database, such as AprilKills, 2003Kills, etc. you like and have a running total. And, of course, there's nothing to prevent you from doing both simultaneously, although it would be best to use separate databases if you do.

LightBulb
Advanced Member
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Wed Apr 30, 2003 10:49 pm   
 
het just wanted to know that you question has inspred me to write a finished script on thi and it should be ready in a few days i will email you a copy and thatr post it with thatks to you for the idea :)

megamog75
Keeper of the only printable help files for Zmud.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net