mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 13:26:38 +02:00
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
This commit is contained in:
@@ -1193,7 +1193,8 @@ trigger_command_init ()
|
||||
" print: buffer, tags, message, strip colors\n"
|
||||
" command: command (required), description, arguments, "
|
||||
"description of arguments, completion (all arguments except command "
|
||||
"are evaluated, see /help eval)\n"
|
||||
"are evaluated, \"${tg_trigger_name}\" is replaced by the trigger "
|
||||
"name, see /help eval)\n"
|
||||
" command_run: command(s) (required)\n"
|
||||
" timer: interval (required), align on second, max calls\n"
|
||||
" config: name(s) of option (required)\n"
|
||||
|
||||
Reference in New Issue
Block a user