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

DeadFace
11 Apr 2021, 02:03

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.


mrangel
11 Apr 2021, 12:42

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.


DeadFace
11 Apr 2021, 21:54

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


mrangel
12 Apr 2021, 07:38

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.