discard


discard

discard ()

Discards the current message. Once discard is called within a rule, the message will not be sent to any viewers.

Parameters:

This function does not accept any parameters.

Returns:

This function does not return a value.

Example:

// This rule discards all output from the display time ("D T") command

trigger on message.MSGID == "IEE136I"

discard()

Related topic

 

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