]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
More aliases for commands.cfg
authorSamual <samual@xonotic.org>
Sat, 31 Dec 2011 07:02:37 +0000 (02:02 -0500)
committerSamual <samual@xonotic.org>
Sat, 31 Dec 2011 07:02:37 +0000 (02:02 -0500)
commands.cfg

index c4e22836616337937755f5cbe6beb7ff0fc0ce44..727486d4779959752e514e5459bc3130a7daa3c9 100644 (file)
@@ -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 $$*"