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
add comment

2 Answers

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

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
add comment

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.