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


Joined: 30 Aug 2005
Posts: 6
Location: Eureka, CA, USA

PostPosted: Tue Mar 13, 2007 7:37 pm   

%time and Logging
 
Is it possible to use the #LOG command to start a logfile using %time to generate the filename?

For instance, some variation of this:

#LOG (%time).txt
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Mar 13, 2007 7:41 pm   
 
Yep. I do this myself:

#log Imperian-%char-%time(yyyy-mm-dd).txt

I do it y-m-d so that when they're sorted alphabetically they're in chronological order.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
jkoster
Newbie


Joined: 30 Aug 2005
Posts: 6
Location: Eureka, CA, USA

PostPosted: Tue Mar 13, 2007 7:45 pm   
 
Awesome.

Thank you for confirming my suspicions!
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