summaryrefslogtreecommitdiff
path: root/doc/it/includes/autogen_user_commands.it.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-11-14 09:32:24 +0100
committerSébastien Helleu <flashcode@flashtux.org>2020-11-14 09:32:24 +0100
commitb9c8569422e0c13d3dc51bffce6e72b7306cc23e (patch)
treed3b7869edb73f7d05f014c8219c098b5f5e695a3 /doc/it/includes/autogen_user_commands.it.adoc
parentb626df72fb7cdc9d9f23a0e5a81209faace87c0f (diff)
downloadweechat-b9c8569422e0c13d3dc51bffce6e72b7306cc23e.zip
trigger: add variable "${tg_trigger_name}" in command trigger evaluated strings (closes #1580)
${tg_trigger_name} is replaced by the trigger name in these command strings: - description - arguments - description of arguments - completion
Diffstat (limited to 'doc/it/includes/autogen_user_commands.it.adoc')
-rw-r--r--doc/it/includes/autogen_user_commands.it.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/it/includes/autogen_user_commands.it.adoc b/doc/it/includes/autogen_user_commands.it.adoc
index 4a35cbbcb..168061754 100644
--- a/doc/it/includes/autogen_user_commands.it.adoc
+++ b/doc/it/includes/autogen_user_commands.it.adoc
@@ -2950,7 +2950,7 @@ listdefault: list default triggers
modifier: name(s) of modifier (required)
line: buffer type ("formatted", "free" or "*"), list of buffer masks, tags
print: buffer, tags, message, strip colors
- command: command (required), description, arguments, description of arguments, completion (all arguments except command are evaluated, see /help eval)
+ command: command (required), description, arguments, description of arguments, completion (all arguments except command are evaluated, "${tg_trigger_name}" is replaced by the trigger name, see /help eval)
command_run: command(s) (required)
timer: interval (required), align on second, max calls
config: name(s) of option (required)