How can I display a message in the Script Node

Hi,

In the Script Node, is there any way to display a message in the bot through the Javascript something like below where “message” is the function call to display a message

if( context.entities.a > 10 )
{
message(“a should be less than 10”)
}

@wslun

In the script node, you cannot display a bot message. You can, however, use koreDebugger.log("<debug statement>")
as mentioned in Debugging and Logging and NLP Metrics - Kore.ai Documentation