From: Samual Date: Fri, 6 Jan 2012 22:38:09 +0000 (-0500) Subject: Update voting aliases for client/server specific functions X-Git-Tag: xonotic-v0.6.0~188^2~16^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5ecd14646a2c16628dd9ec5bf686235c547026c3;p=xonotic%2Fxonotic-data.pk3dir.git Update voting aliases for client/server specific functions --- diff --git a/commands.cfg b/commands.cfg index 9f0d3cbf6..4edc2a85f 100644 --- a/commands.cfg +++ b/commands.cfg @@ -259,18 +259,22 @@ set sv_vote_majority_factor_of_voted 0.5 "What percentage of the VOTERS constitu // when disabled, don't allow game type changes "note: set these two equal to JUST support simple majorities" set sv_vote_override_mostrecent 0 -alias vhelp "cmd vote help" -alias vstatus "cmd vote status" -alias vcall "cmd vote call ${* ?}" -alias vstop "cmd vote stop" -alias vmaster "cmd vote master" -alias vlogin "cmd vote master login ${* ?}" -alias vdo "cmd vote master do ${* ?}" -alias vyes "cl_cmd handlevote yes; cl_cmd vyes" // NOTE: COMPATIBILITY FOR 0.5 IS ADDED HERE WITH "VYES", REMOVE LATER -alias vno "cl_cmd handlevote no; cl_cmd vno" // ^^^ same, see above -alias vdontcare "cmd vote abstain" -alias vabstain "cmd vote abstain" - +// aliases for client only +alias vmaster "qc_cmd_cmd vote master" +alias vlogin "qc_cmd_cmd vote master login ${* ?}" +alias vdo "qc_cmd_cmd vote master do ${* ?}" +alias vyes "qc_cmd_cl handlevote yes; cl_cmd vyes" // NOTE: COMPATIBILITY FOR 0.5 IS ADDED HERE WITH "VYES", REMOVE LATER +alias vno "qc_cmd_cl handlevote no; cl_cmd vno" // ^^^ same, see above +alias vdontcare "qc_cmd_cmd vote abstain" +alias vabstain "qc_cmd_cmd vote abstain" + +// aliases for both client and server +alias vcall "qc_cmd_svcmd vote call ${* ?}" +alias vhelp "qc_cmd_svcmd vote help" +alias vstatus "qc_cmd_svcmd vote status" +alias vstop "qc_cmd_svcmd vote stop" + +// general alias vmap "vcall gotomap ${1 ?}" alias vnextmap "vcall nextmap ${1 ?}" alias vkick "vcall kick ${1 ?}"