X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=commands.cfg;h=174a458347b8b76e827f4ca670412c5e29f51059;hb=8f3c930799e7e46c363343733b6794f27f9ffff2;hp=b23a1e8474575e2f3c4a11222bac087a5e16aa5f;hpb=00cf2725823ace6efc2040b71841cfab52a132e1;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/commands.cfg b/commands.cfg index b23a1e847..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 @@ -221,7 +223,7 @@ alias movetoauto "moveplayer ${1 ?} auto" // Aliases for settemp subsystem. Warning: Do not touch. // Usage: settemp variable value, next map resets it. // ======================================================= -alias settemp "qc_cmd_svcl settemp $$*" +alias settemp "qc_cmd_svcl settemp $*" alias settemp_restore "qc_cmd_svcl settemp_restore"