|
SweepN_Reap Newbie
Joined: 29 Nov 2010 Posts: 1 Location: Charleston, NC
|
Posted: 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 |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: 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.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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. |
|
|
|
|
|