X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=commands.cfg;h=769e52de7cda79625e1da842b66bcdabb49a12cf;hb=5f79dd91c2e1f17b1b1b93882696fd99fdefacc2;hp=0aece8a628129a88a898cef037fc4c75034f6224;hpb=8f0f47ad72cb8977d36e9690cd958f37825097d2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/commands.cfg b/commands.cfg index 0aece8a62..769e52de7 100644 --- a/commands.cfg +++ b/commands.cfg @@ -11,6 +11,10 @@ alias if_dedicated "${* asis}" _if_dedicated alias if_client "" if_client alias if_dedicated "" +// for easy access by QC +if_dedicated set is_dedicated 1 +if_client set is_dedicated 0 + if_dedicated "alias" qc_cmd_sv "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 $${* !}"