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


Joined: 20 Jan 2006
Posts: 5

PostPosted: Fri Jan 20, 2006 7:29 am   

Recording how long a bot run takes.
 
Is it possible to record how long a bot run takes? I wanna see if I start getting stronger, which I can tell by how fast I can demolish an area with my bot. Thank you
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Fri Jan 20, 2006 1:52 pm   
 
In Help "Predefined Variables" there is %ctime:
%ctime the number of seconds you have been connected to the MUD

When you start your area demolisher add this to something that marks a start with:
#VAR V_AreaDemolisher_TimeTaken %ctime

When you are finished demolishing add this to something that marks the end with:
#ECHO Time taken to demolish %eval((%ctime-@V_AreaDemolisher_TimeTaken)/60) mintues.
Reply with quote
Yokito
Newbie


Joined: 20 Jan 2006
Posts: 5

PostPosted: Fri Jan 20, 2006 8:05 pm   Wooo
 
It worked, thank you so much!
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