ConsoleCommand: Difference between revisions
DrinkyBird (talk | contribs) (Created page with "{{MessageBox |bgcolor=#F88 |icon=File:MedalYouFailIt.png |text='''WARNING:''' ConsoleCommand is dangerous and is flagged for eventual removal over security reasons. It is...") |
DrinkyBird (talk | contribs) No edit summary |
||
Line 30: | Line 30: | ||
* crashout | * crashout | ||
* wait | * wait | ||
Aliases and bindings can be managed in a {{ | Aliases and bindings can be managed in a {{Zdw|KEYCONF}} lump. | ||
==Examples== | ==Examples== |
Revision as of 21:49, 10 January 2019
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports. |
void ConsoleCommand (str consolecommand)
Usage
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:
- unbindall
- unbind
- bind
- quit
- exit
- logfile
- alias (including any alias commands)
- screenshot
- dumpmap
- say
- say_team
- sv_banfile
- sv_banexcemptionfile
- sv_adminlistfile
- error
- error_fatal
- crashout
- wait
Aliases and bindings can be managed in a {{{2}}} lump.
Examples
This article lists no examples, please add one. |