summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-03-24 13:02:26 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-03-24 13:02:26 +0100
commita08603c24c2a2b33fe8cdcb6e591ebf4cb7bd986 (patch)
tree344e827cf5bebbbad1dd6103b88df682ca69511b /doc/en
parente03310cb0d187bcf73485f25e9c40893238b17af (diff)
downloadweechat-a08603c24c2a2b33fe8cdcb6e591ebf4cb7bd986.zip
irc: add option irc.look.display_join_message (task #10895)
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/autogen/plugin_api/hdata.txt2
-rw-r--r--doc/en/autogen/user/irc_options.txt5
-rw-r--r--doc/en/weechat_faq.en.txt14
3 files changed, 19 insertions, 2 deletions
diff --git a/doc/en/autogen/plugin_api/hdata.txt b/doc/en/autogen/plugin_api/hdata.txt
index e3f6d018e..bd48a5e19 100644
--- a/doc/en/autogen/plugin_api/hdata.txt
+++ b/doc/en/autogen/plugin_api/hdata.txt
@@ -27,7 +27,7 @@
'modes' (string) +
'limit' (integer) +
'key' (string) +
- 'names_received' (integer) +
+ 'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
diff --git a/doc/en/autogen/user/irc_options.txt b/doc/en/autogen/user/irc_options.txt
index 22db79c64..a22851b15 100644
--- a/doc/en/autogen/user/irc_options.txt
+++ b/doc/en/autogen/user/irc_options.txt
@@ -143,6 +143,11 @@
** type: boolean
** values: on, off (default value: `on`)
+* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
+** description: `comma-separated list of messages to display after joining a channel: 329 = channel creation date, 332 = topic, 333 = nick/date for topic, 366 = names on channel`
+** type: string
+** values: any string (default value: `"329,332,333,366"`)
+
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
** description: `display old topic when channel topic is changed`
** type: boolean
diff --git a/doc/en/weechat_faq.en.txt b/doc/en/weechat_faq.en.txt
index 26a094a87..0553a358b 100644
--- a/doc/en/weechat_faq.en.txt
+++ b/doc/en/weechat_faq.en.txt
@@ -579,7 +579,19 @@ For help: `/help filter` and `/help irc.look.smart_filter`
How can I filter some messages displayed when I join an IRC channel?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Some tags you can use to filter messages:
+With WeeChat ≥ 0.4.1, you can disable some messages with option
+'irc.look.display_join_message'.
+
+For example, to disable names (which is IRC message '366'):
+
+----------------------------------------
+/set irc.look.display_join_message "329,332,333"
+----------------------------------------
+
+[NOTE]
+For help: `/help irc.look.display_join_message`
+
+Another solution is to filter messages on tag:
* 'irc_366': names on channel
* 'irc_332,irc_333': channel topic/date