Trouble with enhanced text parser

Started by LRH, Mon 30/03/2009 20:11:59

Previous topic - Next topic

LRH

I'm using the enhanced text parser module and I'm having some issues, I wonder if anyone can help? You see, I'm not sure how this module wants me to code new commands. You start with only "look" and "get" it seems (besides save, load, etc, etc.) And whenever I try to add a line of code to the room script saying something like

Else if (Parser.Said("eat sandwhich"))
{
Display("I don't have a sandwhich, idiot.");
}

When I go in game and write "Eat sandwhich" it will say something along the lines of "Use another word besides 'eat'"

It just cuts directly to the NoMatch function. How can I fix this?
Any help is very, very much appreciated.

Khris

You have to add "sandwich" to the word list in the Text Parser pane first.

LRH

*slaps forehead*
T_T
Thank you, it works now.

SMF spam blocked by CleanTalk