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


Joined: 22 Feb 2002
Posts: 25
Location: USA

PostPosted: Tue Mar 12, 2002 10:17 pm   

xp
 
As you probably know i play med
i want to create a script that calculates your xprate and stuff i am not rally sure how to put it into words but i know what i want to do any help would be greatly apericated


CHRIS ONDROVIC
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Mar 12, 2002 10:32 pm   
 
#AL {xpstart} {#VAR xpstart @xp;#VAR timestart %ctime}
#AL {xprate} {#SHOW Exp per sec~: %eval((@xp - @xpstart)/(%ctime - @timestart))}


Of course, this requires that you already have a variable @xp and a way to keep it current.

LightBulb
All scripts untested unless otherwise noted
Reply with quote
ondrovic
Beginner


Joined: 22 Feb 2002
Posts: 25
Location: USA

PostPosted: Wed Mar 13, 2002 12:28 am   
 
thansk for all your help i would be lost without all of you guys

CHRIS ONDROVIC
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