The RiveScript Playground
Run
Share
About
Your share link has been created:
> object in javascript if (args.length < 2) { return 'false'; } let test = args[0]; for (let i = 1; i < args.length; i++) { if (test === args[i]) { return 'true'; } } return 'false'; < object + is the magic word * * <call>in "<star>" "hocus pocus" "abra kadabra"</call> == true => That's one of them! - That's not any of the magic words.
Send