This function deletes a previously defined message-handler.
Syntax
Defaults are outlined.
(undefmessage-handler <class-name> <handler-name> [<handler-type>]) <handler-type> ::= around | before | primary | after
An asterisk can be used to specify a wildcard for any of the arguments. (Wildcards will not work for the class name or handler name if there is a class or handler called *.) The undefmessagehandler command can be used to remove handlers at any time. Exceptions: A handler may not be deleted when it or any of the other handlers for the same class are executing. This function has no return value.
Example
Delete all primary handlers in the system.
CLIPS> (undefmessage-handler * *) CLIPS>