mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 20:36:38 +02:00
trigger: update actions performed in the trigger (in /help trigger)
This commit is contained in:
@@ -746,12 +746,11 @@ trigger_command_init ()
|
||||
"\n"
|
||||
"When a trigger callback is called, following actions are performed, "
|
||||
"in this order:\n"
|
||||
" 1. if no regex/command is defined, exit\n"
|
||||
" 2. check conditions; if false, exit\n"
|
||||
" 3. replace text using regex (if defined in trigger)\n"
|
||||
" 4. execute command (if defined in trigger)\n"
|
||||
"Note: on steps 1 and 2, the exit is made with the return code "
|
||||
"defined in trigger (or NULL for a modifier).\n"
|
||||
" 1. check conditions; if false, exit\n"
|
||||
" 2. replace text using POSIX extended regular expression(s) (if "
|
||||
"defined in trigger)\n"
|
||||
" 3. execute command(s) (if defined in trigger)\n"
|
||||
" 4. exit with a return code (except for modifiers)\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" send alert (BEL) on highlight or private message:\n"
|
||||
|
||||
Reference in New Issue
Block a user