said

Category

Test commands

Syntax

if (said("word1","word2"...."wordn")) { .....

Description

The said test command is different to all other commands in the language in that it accepts a special type of parameter and can have any number of parameters. It is used to test if the player has entered certain words.

First, the process of parsing player input needs to be explained. When the player enters a command, the interpreter does the following things with it: