X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=commands.cfg;h=174a458347b8b76e827f4ca670412c5e29f51059;hb=cb64e2cca664a068685a262fee81da2b122364bd;hp=c4fa9a2304600be594d84898df94cd9ef64151b6;hpb=bb1889012cd1c8a89d93d3b988c164215425c315;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/commands.cfg b/commands.cfg index c4fa9a230..174a45834 100644 --- a/commands.cfg +++ b/commands.cfg @@ -12,7 +12,8 @@ _if_dedicated alias if_client "" if_client alias if_dedicated "" if_dedicated "alias" qc_cmd_sv "sv_cmd $$*" -if_client "alias" qc_cmd_sv "echo This command only works on servers: sv_cmd $${* !}" +if_client "alias" qc_cmd_sv "sv_cmd $$*" +// if_client "alias" qc_cmd_sv "echo This command only works on servers: sv_cmd $${* !}" if_dedicated "alias" qc_cmd_cl "echo This command only works on clients: cl_cmd $${* !}" if_client "alias" qc_cmd_cl "cl_cmd $$*" if_dedicated "alias" qc_cmd_cmd "echo This command only works on clients: cmd $${* !}" @@ -51,6 +52,7 @@ alias who "qc_cmd_svcmd who ${* ?}" // Displa // generic commands (across all programs) alias addtolist "qc_cmd_svmenu addtolist ${* ?}" // Add a string to a cvar +alias qc_curl "qc_cmd_svmenu curl ${* ?}" // curl requests alias dumpcommands "qc_cmd_svmenu dumpcommands ${* ?}" // Dump all commands on the program to *_cmd_dump.txt alias maplist "qc_cmd_svmenu maplist ${* ?}" // Automatic control of maplist alias nextframe "qc_cmd_svmenu nextframe ${* ?}" // do something next frame