The command parser
Special parser key-words
The following keywords are directly decoded by the parser to allow more complex commands to be entered than has been defined in the general tasks.
This allows for more natural commands to be entered, and enables the player to manipulate multiple objects with a single command.
ALL
The ALL keyword can be used anywhere an %object% reference appears in a command. It causes the tasks actions to be executed for every object that would pass the tasks restrictions. The output message of the task is then printed, using a list of those objects where it would normally print the name of a single object.
> get all |
get all will get every object in the current location that the player is allowed to take. |
> drop all |
drop all will drop everything in the players inventory. |
AND
The AND keyword lets the player specify several items at once.
> get flowers and mat |
Using AND you can perform the same command on two objects at once. |
> get scarab, flowers and mat |
For more than two objects, separate them with comma's. |
EXCEPT
The EXCEPT keyword is usually used with ALL to exclude one or two objects from a large group.
> get all except flowers and mat |
Player gets everything except the objects he excludes. |
IT
> get all |
get all will get every object in the current location that the player is allowed to take. |
> drop all |
drop all will drop everything in the players inventory. |
THEM
> get all |
get all will get every object in the current location that the player is allowed to take. |
> drop all |
drop all will drop everything in the players inventory. |
HIM
> get all |
get all will get every object in the current location that the player is allowed to take. |
> drop all |
drop all will drop everything in the players inventory. |
HER
> get all |
get all will get every object in the current location that the player is allowed to take. |
> drop all |
drop all will drop everything in the players inventory. |