Skip to content

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.

UnregisterCommand(name)
Parameter Type
name string the command’s name

boolean - false when there is no such command

UnregisterCommand("closegates")

RegisterCommand · the Chat and commands group of the index