 |
Rainstorm Newbie
Joined: 05 May 2002 Posts: 9
|
Posted: 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 |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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  |
|
|
 |
Rainstorm Newbie
Joined: 05 May 2002 Posts: 9
|
Posted: Sun May 12, 2002 7:23 pm |
That doesn't work it wont start logging
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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  |
|
|
 |
Silvayn Beginner
Joined: 11 May 2002 Posts: 13 Location: Slovakia
|
Posted: 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. |
|
|
 |
Rainstorm Newbie
Joined: 05 May 2002 Posts: 9
|
Posted: 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
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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  |
|
|
 |
|
|