Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I ignore only lines containing the exact phrase "This is text" in a channel?

should I do:

/ignore -word this is text

?

share|improve this question

2 Answers 2

/ignore -regexp -pattern "This is text" *
share|improve this answer

First, I encourage you to look at the below link as the following is formatted a bit strangely due to markdown.

Taken from http://www.irssi.org/documentation/manual:

  1. Ignoring

    10.1 Manual ignoring

    Irssi's ignoring options should be enough for everyone :)

    /IGNORE [-regexp | -word] [-pattern ] [-replies] [-except] [-channels ] <^levels>

    -regexp: is a regular expression

    -word: must match to full words

    -pattern: must match to the message's text

    -replies: Ignore replies to nick in channels. For example "/IGNORE -replies !@*.fi PUBLIC" ignores everyone from Finland, but also anyone sending message "tofinnishnick: blahblah". -except: DON'T ignore -channels: Ignore only in channels : Either a nick mask or list of channels : List of levels to ignore <^levels>: List of levels to NOT ignore (/ignore -except nick notices = /ignore nick ^notices)

    /UNIGNORE |

    /IGNORE without any arguments displays list of ignores.

    The best match always wins, so you can have:

    /IGNORE * CTCPS /IGNORE -except !@host.org CTCPS

so, really, you can use /IGNORE -regexp <regex goes here> *!*@* <level> or /IGNORE -word <word goes here> *!*@* <level>

share|improve this answer
    
What does *!*@* <level> do. thanks –  justintime Sep 9 '13 at 1:19
    
This answer is just plain wrong –  Orwellophile Nov 6 '13 at 4:21
    
@Orwellophile i took it directly from the irssi docs, there's no way its wrong. –  Th0masR0ss Sep 5 at 12:12
    
@Th0masR0ss the examples underneath "/IGNORE -regexp <regex goes here> !*@ <level>" and "/IGNORE -word <word goes here> !*@ <level>" are wrong, sorry I can't provide corrections as I haven't used irssi since writing that comment –  Orwellophile Oct 15 at 13:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.