UnregisterCommand
Takes a registered command away.
The command is no longer answered by its handler - the line goes on to OnPlayerCommandText and the built-ins - and
its secret mark and its suggestion go with it.
Syntax
Section titled “Syntax”UnregisterCommand(name)| Parameter | Type | |
|---|---|---|
name |
string | the command’s name |
Returns
Section titled “Returns”boolean - false when there is no such command
Example
Section titled “Example”UnregisterCommand("closegates")See also
Section titled “See also”RegisterCommand · the Chat and commands group of the index
