summaryrefslogtreecommitdiff
path: root/doc/en/autogen/plugin_api
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-03-05 11:49:25 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-03-05 11:49:25 +0100
commit2d7778292abaf4e5686035d3994cf2e3b2f9a026 (patch)
treed9e6d5a36403ddef41ed47c47d074922de624be5 /doc/en/autogen/plugin_api
parent0995eb334f919f2038b8409aab17f2d67470c381 (diff)
downloadweechat-2d7778292abaf4e5686035d3994cf2e3b2f9a026.zip
relay: add info "relay_client_count" with optional status name as argument
Use in evaluated strings (for example in /eval or triggers): - "${info:relay_client_count}": total number of relay clients (any status) With a specific status: - "${info:relay_client_count,connecting}" - "${info:relay_client_count,waiting_auth}" - "${info:relay_client_count,connected}" - "${info:relay_client_count,auth_failed}" - "${info:relay_client_count,disconnected}"
Diffstat (limited to 'doc/en/autogen/plugin_api')
-rw-r--r--doc/en/autogen/plugin_api/infos.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/en/autogen/plugin_api/infos.txt b/doc/en/autogen/plugin_api/infos.txt
index 81aaee62d..ef961b510 100644
--- a/doc/en/autogen/plugin_api/infos.txt
+++ b/doc/en/autogen/plugin_api/infos.txt
@@ -26,6 +26,8 @@
| python | python2_bin | path to python 2.x interpreter | -
+| relay | relay_client_count | number of clients for relay | status name (optional): connecting, waiting_auth, connected, auth_failed, disconnected
+
| weechat | charset_internal | WeeChat internal charset | -
| weechat | charset_terminal | terminal charset | -