rejectInput function


rejectInput

rejectInput (message)

Rejects the user input and logs message in the server log. This is for use in command filters only. If it is used in a message rule, it behaves like the function.

Parameters:

message - the message to be logged to the server log.

Returns:

This function does not return a value.

Example

// This rule rejects any input from user 10387
filter input userinput.USER == "10387"
rejectInput("I'm sorry, 10387. I'm afraid I can't do that.")

 

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