From: Samual Date: Sat, 31 Dec 2011 07:02:37 +0000 (-0500) Subject: More aliases for commands.cfg X-Git-Tag: xonotic-v0.6.0~188^2~28^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e182f3c2bf5f4aafe240c7cbb979495e69f59e5b;p=xonotic%2Fxonotic-data.pk3dir.git More aliases for commands.cfg --- diff --git a/commands.cfg b/commands.cfg index c4e228366..727486d47 100644 --- a/commands.cfg +++ b/commands.cfg @@ -12,8 +12,12 @@ _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 (sv_cmd ${* !}) only works on servers." +if_dedicated "alias" qc_cmd_cl "echo This command (cl_cmd ${* !}) only works on clients." if_client "alias" qc_cmd_cl "cl_cmd $$*" +if_dedicated "alias" qc_cmd_cmd "echo This command (cmd ${* !}) only works on clients." if_client "alias" qc_cmd_cmd "cmd $$*" + if_dedicated "alias" qc_cmd_svmenu "sv_cmd $$*" if_client "alias" qc_cmd_svmenu "menu_cmd $$*" if_dedicated "alias" qc_cmd_svcl "sv_cmd $$*"