Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Cordir
Beginner


Joined: 23 Jan 2011
Posts: 20

PostPosted: Sun Jan 23, 2011 8:06 am   

Auto-start log file with date as file name..
 
Howdy! I did some searching in the knowledgebase, and didn't find an answer... hopefully ya'll can help.

In ZMud, I had a trigger that fired upon login, that auto started a Log session, using the month-day-year-time-am/pm as the file name.

#log {%time("m-d-yyyy-h-mm-am/pm")}

However, this didn't import when I purchased Cmud, and reading through the help files there, the time formatting seems to have changed.

Does anyone have any suggestions on how to recreate this trigger?

Any help would be greatly appreciated.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Sun Jan 23, 2011 9:00 am   
 
Try:

Code:
#LOG %time("m-d-yyyy-h-mm-am/pm").txt
Reply with quote
Cordir
Beginner


Joined: 23 Jan 2011
Posts: 20

PostPosted: Sun Jan 23, 2011 9:05 am   
 
That worked beautifully! Thank you!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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