Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ omit from output

omit from output

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Shady Stranger   USA  (45 posts)  Bio
Date Sun 28 Mar 2010 06:31 AM (UTC)
Message
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?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 28 Mar 2010 06:46 AM (UTC)
Message
Template:version Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Shady Stranger   USA  (45 posts)  Bio
Date Reply #2 on Sun 28 Mar 2010 10:56 AM (UTC)

Amended on Sun 28 Mar 2010 02:15 PM (UTC) by Shady Stranger

Message
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
Top

Posted by AaronM86   (42 posts)  Bio
Date Reply #3 on Mon 29 Mar 2010 03:18 AM (UTC)
Message
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 :)
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #4 on Mon 29 Mar 2010 03:43 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by AaronM86   (42 posts)  Bio
Date Reply #5 on Mon 29 Mar 2010 04:07 AM (UTC)
Message
Nick, are you able to help me out here? :( Please.

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

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


21,888 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.