mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
819f9d16c9
This results in a more flexible system and is less surprising as it means levels can be used in the way they normally can in an ignore. As an example the current approach to NO_ACT provides no way to let HILIGHTS be shown, with this change /set activity_hide_targets can be recreated with: /ignore #channel NO_ACT /ignore #channel -except -regexp -pattern . NO_ACT HILIGHTS (but obviously this can be configured in many more ways if desired).
60 lines
2.4 KiB
Plaintext
60 lines
2.4 KiB
Plaintext
|
|
@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
|
|
|