Hi—I’m just starting to play with ChatScript (I’ve read through the documentation and done the tutorial), and I’m starting to make my own bots. I’ve run into a problem that I don’t understand—I’m trying to use the built-in ^rhyme function, taking user input and returning a rhyme.
I’m using something like this:
....
u (rhyme _*)
$var = ^rhyme(‘_0)
Did you know that $var rhymes with ‘_0?
It’s giving me a number (specifically, 216,006) when I test this using the word ‘boat.’ It gives me that regardless of whether I have a trailing apostrophe or even if I force the word ‘boat’ into the function rhyme. I also tried the same thing with the ^words function, and got a different number, and have tried words other than ‘boat,’ and also gotten a different number. I also tried putting the word boat in double quotes (as well as doing the same for the _0).
My other functions are working fine, and follow a similar pattern. What are some possibilities for what I’m doing wrong? Do I have to load up a library beforehand?
Thanks!