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


Joined: 05 May 2002
Posts: 9

PostPosted: Thu May 09, 2002 3:12 am   

Autolog
 
Does anyone know how to make an auto log trigger that will start a log with the date and time of connection?

Thanks
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu May 09, 2002 7:07 am   
 
I just answered this for Sivan. Here's the thread. And here's the alias, modified to include time:
#AL atconnect "#log {c:tempMUD LOG, %time().doc}
Change (or omit) the directory path to suit your own preferences.

LightBulb
Vague questions get vague answers
Reply with quote
Rainstorm
Newbie


Joined: 05 May 2002
Posts: 9

PostPosted: Sun May 12, 2002 7:23 pm   
 
That doesn't work it wont start logging
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun May 12, 2002 11:09 pm   
 
Probably because of the unmatched ".
#AL atconnect "#log {c:tempMUD LOG, %time().doc}
Sorry, never bothered to check Sivan's script for typos, since he said it worked. Here's how I'd do it myself:
#AL atconnect {#LOG {c:tempMUD LOG, %time().doc}}


LightBulb
Vague questions get vague answers
Reply with quote
Silvayn
Beginner


Joined: 11 May 2002
Posts: 13
Location: Slovakia

PostPosted: Tue May 14, 2002 12:53 am   
 
Just another way to do the same - basically... but it adds your char name, handy if you have more chars.

#AL atconnect {#LOG %char-%time( "dd-mm-yyyy")}

It automatically gives it .txt extension.
Reply with quote
Rainstorm
Newbie


Joined: 05 May 2002
Posts: 9

PostPosted: Thu May 16, 2002 4:46 pm   
 
Silvayn, your alias doesn't work right or yours lightbulb it doesn't put the time in correctly it just gives it a file name of Mud log for lightbulbs and %char-%time dd-mm-yyyy for Silvayn's. Hope you can help
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu May 16, 2002 9:42 pm   
 
Have you made any attempt to solve this for yourself? It should be obvious that if the suggestion I made above stops after MUD LOG, it doesn't like the comma. The obvious solution would be to remove the comma. It might be preferable to remove "MUD LOG" as well, and specify which time fields you want

#AL atconnect {#LOG {c:temp%time(mm-dd-yy).doc}}

LightBulb
Vague questions get vague answers
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