[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  omit from output
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

omit from output

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


Posted by Shady Stranger   USA  (45 posts)  [Biography] 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?
[Go to top] top

Posted by Nick Gammon   Australia  (21,321 posts)  [Biography] 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
[Go to top] top

Posted by Shady Stranger   USA  (45 posts)  [Biography] 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
[Go to top] top

Posted by AaronM86   (42 posts)  [Biography] 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 :)
[Go to top] top

Posted by Nick Gammon   Australia  (21,321 posts)  [Biography] 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
[Go to top] top

Posted by AaronM86   (42 posts)  [Biography] 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
[Go to top] 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.


4,864 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]