In that case you don't have EnumProcess() in your script.

EnumProcess() is a udf, not a KiXtart built-in.

You can find EnumProcess() here

You will need to copy it and paste it into your script - you can just tack it to the bottom of the script.

The process name is appearing on the screen because that is the default behaviour for KiXtart when it gets data it doesn't know how else to handle - like when a user defined function is not properly defined.

The message isn't displaying because the EnumProcess() call fails and the result is "empty" - this is effectively the same result as when the process you are monitoring has stopped.