Stop function


stop

stop ()

Used in trigger (filter) rules to stop rule processing for the current message. No other rules are executed, but the message is sent to viewers unless discard() is called.

Parameters:

This function does not accept parameters.

Returns:

This function does not return a value.

Example

// When we see an IEF404I message from the host send a message to all
// attached viewers and then call stop to prevent this message from
// being processed by any more triggers
trigger on message.MSGID == "IEF404I"
myMsg = createMessage("I see IEF404I!")
myMsg.COLOR = CYAN
sendMessageToAllViewers(myMsg)
stop()

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*