When I start up a game, it says error when I move

I start up a game and it comes out normal, showing me the text, places to go, ect. But when I try going somewhere like north or south or anywhere, it says...

"error running script: Error compiling expression 'IsRegexMatch(cmd.pattern, command, cmd.name)': FunctionCallElement: Could find not function 'IsRegexMatch(Element, String, String)'"

I dont know what to do and I spent a few hours trying to figure it out.


Sounds like you have a command without a pattern, or you've got a script changing a command's pattern to something other than a string.


I don't have many commands till later in the game and I don't know how to do some stuff because I'm new


I don't have many commands till later in the game

Check all your commands, and make sure they all have something in the "Pattern" box.

If you still can't figure it out, it might be a good idea to share the game so someone with more experience can take a look at the code.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums