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


Joined: 15 Jun 2002
Posts: 5
Location: Australia

PostPosted: Tue Mar 30, 2004 4:56 pm   

Help hiding output?
 
Hello again,
Now that I have the Status Triggers and vars setup I set up the tick timer to run an alias that automatically runs the commands that brings up the output that the value are taken from, but they keep on flooding my main window.

I am wondering if there is a command that i can use to hide the output or at the very least send it to another window that out of the way and thus does not interupt my gaming?
The alias is set up as follows (as written in the value field),

score
time
nick

As before all help would be much appreciated.
Reply with quote
Theragil
Apprentice


Joined: 13 Feb 2004
Posts: 157
Location: USA

PostPosted: Tue Mar 30, 2004 5:09 pm   
 
Put a #gag after each one.
Reply with quote
Resonance34
Newbie


Joined: 15 Jun 2002
Posts: 5
Location: Australia

PostPosted: Tue Mar 30, 2004 5:14 pm   
 
Like this?

score
#gag
time
#gag
nick
#gag
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Mar 30, 2004 7:51 pm   
 
Well, #GAG just deletes the last line shown. So if each command produces multiple lines of output, a single #GAG would work. Instead, you can use #GAGON and #GAGOFF to start gagging when the commands are sent and stop when the output is done. Example:
score
time
nick
#GAGON
#TEMP {pattern to match last line of output from nick command} {#GAGOFF}

The tricky part here is the temporary trigger. This temporary trigger is created so that when the output from the commands is done, it stops gagging. So you would need to put in the trigger a pattern that will detect when the last line of output from the last command has been shown.
Reply with quote
Theragil
Apprentice


Joined: 13 Feb 2004
Posts: 157
Location: USA

PostPosted: Wed Mar 31, 2004 1:12 pm   
 
#gag after each command gags the display of the command itself. #gag inside each trigger that reacts to a line, gags the line it reacts to. But the #gagon/#gagoff approach is probably more efficient, as long as you have a unique line at the end to trigger off of, and as long as this process is fast enough that you don't have to worry about some other message appearing during it that you wanted to see (like someone or something attacking you!). If you are worried about that, you'll have to gag the individual lines.
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