See the following code:
This produces no error when the trigger is added, but always produces "Trigger function "Process_Noble_Message" not found or had a previous error." when the trigger is matched. Since there is no previous error, I was confused as to why it did not think there was a function called "Process_Noble_Message" when I knew there was.
Obviously it is easy notice the error in this simple example above, but in my program the name was set using a variable that did not exist.
I would suggest addxml.trigger display this as an error, as it does with other errors.
trigger_name = nil
addxml.trigger { match = "MATCH ONE",
regexp = false,
sequence = 3,
enabled = true,
omit_from_output = true,
name = trigger_name,
script = "Process_Noble_Message"
}
This produces no error when the trigger is added, but always produces "Trigger function "Process_Noble_Message" not found or had a previous error." when the trigger is matched. Since there is no previous error, I was confused as to why it did not think there was a function called "Process_Noble_Message" when I knew there was.
Obviously it is easy notice the error in this simple example above, but in my program the name was set using a variable that did not exist.
I would suggest addxml.trigger display this as an error, as it does with other errors.