|WARNING: ConsoleCommand is dangerous and is flagged for eventual removal over security reasons. It is not advised to use ConsoleCommand in new mods. Details here.|
|Warning: This feature is Zandronum specific and may not supported by ZDoom and its other child ports!|
Documentation may not be accurate, see ACS Functions.
void ConsoleCommand (str consolecommand)
ConsoleCommand causes the game server to activate the given console command. This can be used to set mod-specific CVARs and other commands that cannot be executed by pure ACS. Only one command can be executed per function call. If the command is used from a CLIENTSIDE script, the local machine will execute the command.
The following commands cannot be used and will be ignored:
- alias (including any alias commands)
|This article lists no examples, please.|