From 32facbe78394b844dc083761be2d5f3c55611af2 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 10 Feb 2014 09:48:33 +0100 Subject: [PATCH] trigger: update actions performed in the trigger (in /help trigger) --- src/plugins/trigger/trigger-command.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/plugins/trigger/trigger-command.c b/src/plugins/trigger/trigger-command.c index 953632727..48b98b477 100644 --- a/src/plugins/trigger/trigger-command.c +++ b/src/plugins/trigger/trigger-command.c @@ -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"