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
shalimar
GURU


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

PostPosted: Sat Nov 05, 2005 2:37 am   

Exp tracking
 
@startexp
@exptotal
@sessionspent

#math sessiontotal @exptotal-@expstart+@sessionspent

i want to be able to track my exp easily at 5 minute intervals, able to show in an alias exp earned in the last 5, 10, 15, 30, 60 minutes, and full session
_________________
Discord: Shalimarwildcat
Reply with quote
shalimar
GURU


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

PostPosted: Sat Nov 05, 2005 5:14 am   
 
#ALARM -5:00 {#var exptracker {%push(@sessiontotal, @exptracker)}}

#ALIAS showexp {#SHOW Exp by the minute: 5- %eval(@sessiontotal-%item(@exptracker, 1)) 10- %eval(@sessiontotal-%item(@exptracker, 2)) 15- %eval(@sessiontotal-%item(@exptracker, 3)), 30- %eval(@sessiontotal-%item(@exptracker, 6)), 60- %eval(@sessiontotal-%item(@exptracker, 12)), Session- @sessiontotal}

This seems to work..
_________________
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