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
rovin
Newbie


Joined: 14 Jun 2002
Posts: 2

PostPosted: Fri Jun 14, 2002 12:35 pm   

Experience / minute trigger
 
I'm trying to make a trigger which calculates the exp/minute i get from a mob.
It all works fine, onto one point: the calculating :P
somehow the result of the following calculation is always 0:
#MATH exprate {%time(nn)*60+%time(ss)}.
the time functions work ok, just when i multiply them, the result is 0.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Fri Jun 14, 2002 1:09 pm   
 
Try:
#MATH exprate {%eval(%time(nn)*60+%time(ss))}

Kjata
Reply with quote
rovin
Newbie


Joined: 14 Jun 2002
Posts: 2

PostPosted: Fri Jun 14, 2002 1:13 pm   
 
Thanks that worked!
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