Beta Documentation - Subject to change.

Removes a command that has been added using AddCommand.

Syntax

Lua
function Shell.RemoveCommand(shellCommand);

Parameters

shellCommand
Type: ShellCommand
The shell command to unregister. This removes the registration from all the names that use the shell command.

Returns

Type: number

Remarks

This method will remove all the references to the shell command that were registered using AddCommand.

See Also