diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-08-09 21:44:41 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-08-09 21:44:41 +0200 |
commit | 1172b193706db50435234b4b82f2d68abb45dddd (patch) | |
tree | ad4507b49c8508cb0e3f4dc9755599d267a3bb25 /doc/it | |
parent | de7dc59c87bdcf43e347fde5bcf0d69c73aa2e48 (diff) | |
download | weechat-1172b193706db50435234b4b82f2d68abb45dddd.zip |
doc: translate trigger post action in other languages (user's guide)
Diffstat (limited to 'doc/it')
-rw-r--r-- | doc/it/weechat_user.it.adoc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index 025169eb6..d9d07efb7 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -3153,6 +3153,10 @@ A trigger has the following options (names are | return_code | `ok`, `ok_eat`, `error` | The return code of callback (default is `ok`, which should be used in almost all triggers, the other values are rarely used). + +| post_action | `none`, `disable`, `delete` | + Action to take on the trigger after execution (default is `none` which should + be used in almost all triggers, the other values are rarely used). |=== For example, the default _beep_ trigger has following options: @@ -3165,6 +3169,7 @@ trigger.trigger.beep.conditions = "${tg_highlight} || ${tg_msg_pv}" trigger.trigger.beep.regex = "" trigger.trigger.beep.command = "/print -beep" trigger.trigger.beep.return_code = ok +trigger.trigger.beep.post_action = none ---- [[trigger_execution]] @@ -3176,7 +3181,8 @@ order, if triggers are globally enabled and if the trigger itself is enabled: . check trigger conditions: if false, exit . replace text in trigger using regular expression(s) . execute command(s) -. exit with a return code (except for hooks _modifier_ and _focus_). +. exit with a return code (except for hooks _modifier_ and _focus_) +. perform post action (if different from `none`). [[trigger_hook_arguments]] ==== Hook arguments |