]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - commands.cfg
Simple tactical hud overlay for turrets when in a vehicle
[xonotic/xonotic-data.pk3dir.git] / commands.cfg
index c4fa9a2304600be594d84898df94cd9ef64151b6..174a458347b8b76e827f4ca670412c5e29f51059 100644 (file)
@@ -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