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


Joined: 25 Aug 2004
Posts: 7

PostPosted: Thu Nov 02, 2006 6:07 pm   

Logging Gagged text
 
Is there a way to Gag a line and still have it written to the log even though it doesnt appear on screen?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Nov 02, 2006 10:11 pm   
 
Yes, within one of the Preferences categories is a section about Logging. Within this section should be a checkbox along the lines of Log Before Triggers.
_________________
EDIT: I didn't like my old signature
Reply with quote
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Sat Nov 04, 2006 8:41 pm   
 
While that does work, it is also very restrictive. I too have sometimes wanted to #gag stuff from the main window, yet log it. But I do many, many things to the text (like timestamping) that I want to log, so logging before triggers doesn't work for me. It would be nice if there were a #HIDE command (or somesuch) that would do this.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Nov 05, 2006 12:52 am   
 
In that case, read up on #WRITE, #FILE, and the like. There are ways to do what you want, just not with #LOG or Preferences.
_________________
EDIT: I didn't like my old signature
Reply with quote
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Sun Nov 05, 2006 6:07 am   
 
Uh, no.

The log gives me 98% of what I want. I'm just saying there are really good reasons for wanting to hide the output from the screen (perhaps because you want to despam the main screen by sending certain output to a child window), but still log it. I suppose I could rewrite logging code using triggers, but I won't. And yeah, I could send just the text I want hidden to a special file, but that's not what I want. I want the hidden text to go to THE log. Plus, #FILE can only write in the directory containing Zmud.exe, and that's certainly not what I want.

I can live without this, but I'm just saying it would be a handy capability that I might use a lot if it were there.
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