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
Evangelist
Adept


Joined: 10 Oct 2000
Posts: 224
Location: USA

PostPosted: Tue Aug 27, 2002 3:00 am   

#log and overwriting
 
Got a window with data in it called Who

I have an alias that does:

:Who:#LOG who_list.xml new

I also tried

:Who:#LOG who_list.xml

neither of those will overwrite the current who_list.xml file

Is there anything other then #LOG I could use to overwrite a file that is currently in existence?

Yes, I have read the helpfile on the #log command...it didn't help any :( I was probably reading it wrong though
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Tue Aug 27, 2002 3:24 am   
 
Hmm maybe it looses the new parameter.

You could always for a cheap hack do:

#FILE 1 who_list.xml
#ERA 1
#CLOSE 1
:Who:#LOG who_list.xml

Ton Diening
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Aug 27, 2002 3:25 pm   
 
Odd. Works fine for me using:
#LOG test.log new
:tell:#LOG test.xml new

So, the "new" parameter works in either the main window or a child window under version 6.16.
If you are using a beta version, this should be reported on the beta forum as a bug.

One possibility occurs to me, I closed the logs before trying to reopen them, whether I used "new" or not.

LightBulb
Senior Member
Reply with quote
Evangelist
Adept


Joined: 10 Oct 2000
Posts: 224
Location: USA

PostPosted: Tue Aug 27, 2002 5:47 pm   
 
Thanks for both suggestions, its working. On my initial trigger that started the capture, I had it do:

:Who:#LOG who_list.xml new

The on the trigger that ended the capture, I had it do:

#FILE1 who_list.xml
:who:#LOG who_list.xml
#CLOSE who_list.xml

It says invalid syntax on the file thing, which may be, but it works. I appreciate the help from everyone, thanks bunches man.



Evangelist
www.phidar.com
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