omit from output

Posted by Shady Stranger on Sun 28 Mar 2010 06:31 AM — 6 posts, 28,343 views.

USA #0
I have set up a timer to send the health command every 3 seconds. A trigger then reads the result of the command and sends it to a notepad window. The problem is that when it is omitted from output, it still scrolls on my screen. Is there a way to omit something from output and not scroll?
Australia Forum Administrator #1
Template:version
Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.
USA #2
Version 4.4

I have tried creating a trigger where the regexp = ^$ and omitted that from output but that bunches everything together. I just want to remove something from output and not put anything in its place. No text, no extra line, etc.

An idea I had was to set up a script that sends a one-shot trigger that omits the blank line. not sure if that will work. I will give it a try though. Any help on this would be much appreciated.

Thanks
Amended on Sun 28 Mar 2010 02:15 PM by Shady Stranger
#3
You could direct what you're trying omit to a separate world, with a chat_redirector plugin. I use this method to log channels and have been trying to figure out a solution to the same omitting problem you're talking about when this suddenly dawned upon me lol :P :)
Australia Forum Administrator #4
This has cropped up a few times, and the basic problem is that the server actually sends two lines. It works a bit like this:

You have a prompt:


<22h 33m 44mv>  X


... where the cursor is at the X position.

Now the MUD needs to send a chat down, so it knows the cursor is half-way through a line so it sends:


<newline> <chat message> <newline>


Two newlines, you see? Now the chat message and its final newline get omitted, but the first newline has triggered another line. Thus you may see a blank line.

Personally I just use the "omit blank lines" plugin, and put up with the display being a bit squashed.
#5
Nick, are you able to help me out here? :( Please.

http://www.gammon.com.au/forum/?id=10182