Omit from output? Does it return a blank line?

Posted by Tesagk on Wed 28 Sep 2016 01:25 PM — 8 posts, 27,827 views.

#0
I'm trying to utilize the feature to cut down on some crafting spam, but now I have a bunch of blank lines filling up my feed. Does omit from output return a blank line?
USA Global Moderator #1
Is your server sending blank lines in between lines?
Australia Forum Administrator #2
There is a configuration option to test whether or not triggers match blank lines. Global Preferences -> General -> Regular expressions can match on an empty string.

However to answer your question, no, omit from output does not replace the line with a blank line.
#3
Fiendish said:

Is your server sending blank lines in between lines?


Oh, dang. That's probably it.

Is it possible to omit two lines? I don't really want to omit all blank lines. And trying to predict blank lines after an omit sounds like it would be frustrating.
Australia Forum Administrator #4
Once you have a multi-line trigger you can't set it to omit from output. All I can suggest is a smart "blank line" trigger that sometimes omits itself.
#5
Would putting:


DeleteLines(1)


In with the script do the trick? Or would that unintentionally target other lines?
Australia Forum Administrator #6
I think I've had problems with that in the past. What I would do is, if you have a blank line after the crafting spam, is have the crafting trigger turn on a trigger that omits a blank line. When that trigger fires it turns itself off (disables itself).

If the blank line comes before the crafting spam you might have to get more creative, but it could be done.
#7
Nick Gammon said:

I think I've had problems with that in the past. What I would do is, if you have a blank line after the crafting spam, is have the crafting trigger turn on a trigger that omits a blank line. When that trigger fires it turns itself off (disables itself).

If the blank line comes before the crafting spam you might have to get more creative, but it could be done.


There may be 1 before and 1 after. I'll try the method you mentioned first, since it's the easiest way to find out.