Noah Petherbridge

Results 108 comments of Noah Petherbridge

This is a good idea. For implementation notes (if somebody else wants to take this on before I get around to it), if you split a string using a regular...

Can confirm the unpkg.com CDN link works. The exact URL is used on the [RiveScript Playground](https://play.rivescript.com/) and the [Try Online](https://www.rivescript.com/try) pages and those work for me now. Some other blind...

You can set user variables from inside the macro if that works. ``` rs.setUservar(rs.currentUser(), "myResult", "x"); ```

Yeah the `` tag is always the very last one processed. You could use `rs.getUservar()` inside the macro to get the variable too.

To clarify, your trigger would match a message that has the word "undefined" in it somewhere? Or does it match other messages too?

Do you have a reproduceable test case? I did some poking at it here: https://play.rivescript.com/s/lYwwtWuvri and couldn't get it to match messages that I wasn't expecting it to: ![screenshot from...

If others want to step up and help maintain this repo, get in touch with me and I can see about adding write access for them. I have other priorities...

Does anyone else get an error like this? According to the rivescript source and your example code, it shouldn't be triggering this warning: https://github.com/aichaos/rivescript-js/blob/2a92d5b29423025e18a42e3ae4e8989529fd3f08/src/rivescript.js#L361-L421 It checks if the `onSuccess` parameter...

Hey, thanks for pointing this out. That code example was probably written without testing when I was writing the working draft. 😅 The input checks had to be flipped in...

I think you might be able to do this: ```js > object set-list javascript let newArray = args[0].split(/\s+/); let stringified = newArray.join("|"); // parsing a new array should replace the...