diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-08-09 21:35:39 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-08-09 21:35:39 +0200 |
commit | de7dc59c87bdcf43e347fde5bcf0d69c73aa2e48 (patch) | |
tree | 1ad85c2c611a2cf98d00b18ca48a29a1bce30fe6 /doc | |
parent | 810077fc12401eba106bd8fa90128bea790b1d73 (diff) | |
download | weechat-de7dc59c87bdcf43e347fde5bcf0d69c73aa2e48.zip |
trigger: rename "once action" to "post action"
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/weechat_user.en.adoc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index 878326d3f..1637803ca 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -2986,10 +2986,9 @@ A trigger has the following options (names are The return code of callback (default is `ok`, which should be used in almost all triggers, the other values are rarely used). -| once_action | `none`, `disable`, `delete` | - Action to take with the trigger after the trigger executes once (default is - `none` 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: @@ -3002,7 +3001,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.once_action = none +trigger.trigger.beep.post_action = none ---- [[trigger_execution]] @@ -3014,8 +3013,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_). -. perform once action (when not `none`) +. exit with a return code (except for hooks _modifier_ and _focus_) +. perform post action (if different from `none`). [[trigger_hook_arguments]] ==== Hook arguments |