summaryrefslogtreecommitdiff
path: root/doc/en/includes/autogen_user_commands.en.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/en/includes/autogen_user_commands.en.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/en/includes/autogen_user_commands.en.adoc')
-rw-r--r--doc/en/includes/autogen_user_commands.en.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/en/includes/autogen_user_commands.en.adoc b/doc/en/includes/autogen_user_commands.en.adoc
index f8a44cdda..d6a3848a5 100644
--- a/doc/en/includes/autogen_user_commands.en.adoc
+++ b/doc/en/includes/autogen_user_commands.en.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)