summaryrefslogtreecommitdiff
path: root/docs/help/in/ignore.in
blob: fbb23fe42b7d715230eae1856d22f3bef4b16c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

@SYNTAX:ignore@

    -regexp: <pattern> is a regular expression
    -full: <pattern> must match to full words
    -pattern: <pattern> must match to the message's text
    -except: *DON'T* ignore - overrides an existing ignore.
    -replies: Ignore replies to nick in channels. For example
              "/IGNORE -replies *!*@*.fi PUBLIC" ignores everyone
              from Finland, but also anyone sending message
              "tofinnishnick: blahblah".
    -network: Ignore only on this network.
    -ircnet: Same as -network. Deprecated. Do not use.
    -channels: Ignore only in channels (comma separated list)
    -time: <secs> seconds after the ignore is removed
    <mask>: Either a nick mask or list of channels
    <levels>: List of levels to ignore. You can use -<level> to remove levels
              from ignore (/help levels for details).
    <^levels>: List of levels to NOT ignore
               (/ignore -except nick notices = /ignore nick ^notices)


/IGNORE without any arguments displays list of ignores. If you want to remove
some levels of the ignore, use /IGNORE <mask> -<level> -<level2> etc

The best match always wins, so you can have:
    /IGNORE * CTCPS
    /IGNORE -except *!*@host.org CTCPS

Examples:

    /IGNORE * JOINS                         - ignore joins in all channels
    /IGNORE #channel ALL -PUBLIC -ACTIONS   - ignore all but public/actions
    /IGNORE #channel -JOINS                 - don't ignore joins anymore
    /IGNORE -replies *!user@*.host.org ALL  - ignore user and all replies

Some suggestions for ignoring annoying public aways:
    /IGNORE -regexp -pattern "is (away|gone|back)" * ACTIONS
    /IGNORE *zzz* NICKS
    /IGNORE *afk* NICKS
    /IGNORE *away* NICKS

The special level "NO_ACT" can be used to ignore activity ("Act:") but not
actually ignore the message entirely. It is somewhat special because it is
allowed in addition to another ignore for the same target.

Examples:

  /IGNORE #channel NO_ACT JOINS PARTS QUITS - hide joins, etc from activity
  /IGNORE nick NO_ACT -MSGS - ignore activity from nick, except for /MSG
  /IGNORE -regexp -pattern . -except nick NO_ACT HILIGHT
    - combined with the ignore above show hilights from this nick (needs to be
      an except as "PUBLIC HILIGHT" still matches public, the regexp is used to
      have more than one ignore for "nick").

For regular expressions, see `man 7 regex`.

See also: UNIGNORE, SILENCE, ACCEPT