Command (*,***)

Triggers if the user has input the specified command.

Format:

Command [oper] "command_name"

Arguments:

[oper]

=, != (other operators not valid)

"command_name" (string)

Name of the command. Commands are defined in the player's CMD file, and are case-sensitive. If the CMD has multiple commands with the same name, then any one of those commands will work. Command names must appear within double quotes.

Return type:

boolean int (1 or 0)

Error conditions:

none

Example:

trigger1 = Command = "fireball motion"
  True if the user inputs the command corresponding to the
  command name "fireball motion".

Last updated