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


Joined: 29 Nov 2010
Posts: 1
Location: Charleston, NC

PostPosted: Mon Nov 29, 2010 2:26 pm   

Autologging
 
Hello,

I recently upgraded from ZMUD to CMUD.

My ZMUD autologger script looked like.

atconnect
#LOG Logs/charactername_%time( mm-dd-yy).txt

I've been trying the below with CMUD and it doesn't seem to work.

onconnect
#LOG Logs/charactername_%time( mm-dd-yy).txt

But it doesn't seem to work. I'm figuring user error here so any advice or help would be most appreciated.

Thanks
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Mon Nov 29, 2010 4:49 pm   
 
Did you make this an Event, or a Trigger or Alias? It should work if it is an Event named onconnect.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Nov 29, 2010 6:38 pm   
 
Try using the explicit %concat function to create the file name:

#LOG %concat("Logs/charactername_", %time("mm-dd-yy"), ".txt")

CMUD is much pickier about correct syntax than zMUD was, especially when doing implicit %concat with imbedded functions.
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