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
Jared242004
Beginner


Joined: 28 Jul 2004
Posts: 21
Location: Canada

PostPosted: Thu Aug 27, 2009 8:43 pm   

i want to keep track of daily and monthly exp
 
I am looking to keep track of daily and monthy exp, and also have it so i can see it in my status bar.
along with kills

The game shows me:

You receive 615 experience points.

Can anyone please help

You receive %1 experience points.

#add (daily,monthly) %1
#add kills 1

Is any of this even close Question
and how do i enter the variables into the status bar
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4672
Location: Pensacola, FL, USA

PostPosted: Fri Aug 28, 2009 7:59 am   
 
I would suggest dbVariables.

How many days back are you wanting to save?

For an everything you could go about:

#TR {You receive (%d) experience points.} {
#ADDKEY %time(mmmmyyyy) {%time(d)=%eval(@{%time(mmmmyyyy).%time(d)}+%1)}
#ADDKEY %time(mmmm) {%time(yyyy)=%eval(@{%time(mmmm).%time(yyyy)}+%1)}
}

#STAT {XP earned today: @{%time(mmmmyyyy).%time(d)} This month: @{%time(mmmm).%time(yyyy)}}

Mind you this isn't tested.
_________________
Discord: Shalimarwildcat
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