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


Joined: 21 Oct 2002
Posts: 2
Location: USA

PostPosted: 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
Reply with quote
Castaway
GURU


Joined: 10 Oct 2000
Posts: 793
Location: Swindon, England

PostPosted: 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.
Reply with quote
AzCowboy
Adept


Joined: 09 Nov 2000
Posts: 222
Location: USA

PostPosted: Tue Oct 22, 2002 4:13 pm   
 
Actually, it defaults to writing them to the zMud directory....
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