|
zivox Newbie
Joined: 21 Oct 2002 Posts: 2 Location: USA
|
Posted: Mon Oct 21, 2002 11:49 pm
zMud Path? |
Is there a way to get the current zmud directory path? I didn't see any %curdir type functions. I want to be able to log to the zmudmudname directory no mater where zmud is installed.
For Example:
#Log {%concat(%zmuddir, "MyMudLogs", %time, ".txt")}
Thanks in advance |
|
|
|
Castaway GURU
Joined: 10 Oct 2000 Posts: 793 Location: Swindon, England
|
Posted: Tue Oct 22, 2002 7:37 am |
I think you'll find that zmud defaults to writing logs into the current 'MyMud' directory anyway.. (If I remember correctly, it refuses to write anywhere above the zmud directory..)
So you just need to create 'MyMudLogs' and then: #LOG {"LogsTest.txt"}
(Haven't tried it though, no zMUD to hand currently..)
Lady C. |
|
|
|
AzCowboy Adept
Joined: 09 Nov 2000 Posts: 222 Location: USA
|
Posted: Tue Oct 22, 2002 4:13 pm |
Actually, it defaults to writing them to the zMud directory....
|
|
|
|
|
|