Cold Help System: General Information: Commands: Types


Each command is associated with a specific method. When a command match is found, that method is executed with arguments depending upon what you typed. The Cold Dark recognizes three types of commands:

Local Commands

Local commands are any non-directed command, or any command which does not require a target in the command template. Matching for local commands uses ColdC template matching. The parser looks for local commands on the user, the user's ancestry, and the user's location (but not anything the user is carrying or in the user's location).

Remote Commands

Remote commands differ from Local Commands in that they require the target of the command, in the command string. For instance, "get button" would be a remote command, because it requires the target of button to function correctly. Matching for Remote Commands uses ColdC template matching

Shortcuts

Shortcuts are intented as wrap-arounds for commands, using ColdC pattern matching instead of template matching.

Aliases

Command aliases are personal shortcuts added by the user. They are very similar to command shortcuts, with the primary difference being their scope. A command alias is defined on a per-user basis. To add a command alias for more than one person, use a shortcut and add it to a command-ui object.

See also: @add-command, @del-command, @add-shortcut, @del-shortcut, @commands, @add-command-alias, @del-command-alias, @command-aliases


VR vs Non-VR | Types | Matching Conventions


the Cold Dark