summaryrefslogtreecommitdiff
path: root/docs/help/in/ignore.in
blob: 16a870af0f610991501993a01af12029f3c7912e (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

@SYNTAX:ignore@

    -regexp: <pattern> is a regular expression
    -full: <pattern> must match to full words
    -pattern: <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 - overrides an existing ignore.
    -network: Ignore only on this network.
    -ircnet: Same as -network. Deprecated. Do not use.
    -channels: Ignore only in channels
    <mask>: Either a nick mask or list of channels
    <levels>: List of levels to ignore. You can use -<level> to remove levels
              from ignore.
    <^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 #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

For regular expressions, see `man 7 regex`.

See also: UNIGNORE