diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-11-03 09:01:44 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-11-03 09:01:44 +0100 |
commit | 015ae4a94b612544f925d6f84c243a74adc2fa2e (patch) | |
tree | 4de763997cabd281c4a03657dbd7e3b893979364 /doc/en | |
parent | 4a86ab55d8e65b0dbec2060a27b4c1c9cfb78f17 (diff) | |
download | weechat-015ae4a94b612544f925d6f84c243a74adc2fa2e.zip |
irc: add filters on raw buffer (closes #1000)
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/autogen/plugin_api/completions.adoc | 2 | ||||
-rw-r--r-- | doc/en/autogen/user/irc_commands.adoc | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/doc/en/autogen/plugin_api/completions.adoc b/doc/en/autogen/plugin_api/completions.adoc index dc92e9306..907452e73 100644 --- a/doc/en/autogen/plugin_api/completions.adoc +++ b/doc/en/autogen/plugin_api/completions.adoc @@ -38,6 +38,8 @@ | irc | irc_privates | privates on all IRC servers +| irc | irc_raw_filters | filters for irc raw buffer + | irc | irc_server | current IRC server | irc | irc_server_channels | channels on current IRC server diff --git a/doc/en/autogen/user/irc_commands.adoc b/doc/en/autogen/user/irc_commands.adoc index 4ec7c542e..5fdb6c7ec 100644 --- a/doc/en/autogen/user/irc_commands.adoc +++ b/doc/en/autogen/user/irc_commands.adoc @@ -726,7 +726,8 @@ reason: reason reorder <name> [<name>...] open <name>|-all [<name>...] del|keep <name> - deloutq|jump|raw + deloutq|jump + raw [<filter>] list: list servers (without argument, this list is displayed) listfull: list servers with detailed info for each server @@ -745,12 +746,22 @@ nooption: set boolean option to 'off' (for example: -nossl) deloutq: delete messages out queue for all servers (all messages WeeChat is currently sending) jump: jump to server buffer raw: open buffer with raw IRC data + filter: set a new filter to see only matching messages (this filter can be used as input in raw IRC data buffer as well); allowed formats are: + * show all messages (no filter) + xxx show only messages containing "xxx" + s:xxx show only messages for server "xxx" + f:xxx show only messages with a flag: recv (message received), sent (message sent), modified (message modified by a modifier), redirected (message redirected) + m:xxx show only IRC command "xxx" + c:xxx show only options matching the evaluated condition "xxx", using following variables: output of function irc_message_parse (like nick, command, channel, text, etc., see function info_get_hashtable in plugin API reference for the list of all variables), date (format: "yyyy-mm-dd hh:mm:ss"), server, recv, sent, modified, redirected Examples: /server listfull /server add freenode chat.freenode.net /server add freenode chat.freenode.net/6697 -ssl -autoconnect /server add chatspike irc.chatspike.net/6667,irc.duckspike.net/6667 + /server raw + /server raw s:freenode + /server raw c:${recv} && ${command}==PRIVMSG && ${nick}==foo /server copy freenode freenode-test /server rename freenode-test freenode2 /server reorder freenode2 freenode |