Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replies not matched error #409

Open
SinanDede opened this issue Jan 25, 2023 · 1 comment
Open

Replies not matched error #409

SinanDede opened this issue Jan 25, 2023 · 1 comment

Comments

@SinanDede
Copy link

SinanDede commented Jan 25, 2023

My rive file is like

! version  =2.0

+ some text
-  some text

But it returns replies not matched error

@kirsle
Copy link
Member

kirsle commented Jan 30, 2023

It works for me: https://play.rivescript.com/s/IYbKJIQwcq

Verify that your program is loading your .rive file correctly, you might've given it a wrong filename or something. Give a debug:true parameter to the RiveScript() constructor and it should log a whole bunch of stuff about every line of code it reads and what it's doing with it, which might help to verify the file was loading correctly.

Also, be sure to call sortReplies() after you've loaded the rive file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants