From 0a90aeefaa0fe5a7600cb30841eaac3bad62a69a Mon Sep 17 00:00:00 2001 From: packer Date: Fri, 15 Jan 2016 12:59:31 +0100 Subject: [PATCH] add movetospec alias --- commands.cfg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/commands.cfg b/commands.cfg index d009e13d67..acde56d11d 100644 --- a/commands.cfg +++ b/commands.cfg @@ -235,6 +235,7 @@ alias movetoblue "moveplayer ${1 ?} blue" alias movetopink "moveplayer ${1 ?} pink" alias movetoyellow "moveplayer ${1 ?} yellow" alias movetoauto "moveplayer ${1 ?} auto" +alias movetospec "moveplayer ${1 ?} spec" // ======================================================= @@ -299,6 +300,7 @@ set sv_vote_command_restriction_movetored "1;" set sv_vote_command_restriction_movetoblue "1;" set sv_vote_command_restriction_movetoyellow "1;" set sv_vote_command_restriction_movetopink "1;" +set sv_vote_command_restriction_movetospec "1;" // ================================= // voting - server/command/vote.qc @@ -308,7 +310,7 @@ set sv_vote_change 1 "Allow voters to change their mind after already voting" set sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams" "these commands can be voted" set sv_vote_only_commands "" set sv_vote_limit 160 "Maximum allowed length of a vote command" -set sv_vote_master_commands "movetored movetoblue movetoyellow movetopink" "Extra commands which vote masters can execute by themselves, along with the normal sv_vote_commands." // maybe add kickban here (but then sv_vote_master 0) +set sv_vote_master_commands "movetored movetoblue movetoyellow movetopink movetospec " "Extra commands which vote masters can execute by themselves, along with the normal sv_vote_commands." // maybe add kickban here (but then sv_vote_master 0) set sv_vote_master 1 "Allows the use of the vote master system" set sv_vote_master_callable 1 "When set, users can use \"vmaster\" to call a vote to become master of voting commands" set sv_vote_master_password "" "when set, users can use \"vlogin PASSWORD\" to log in as master" @@ -355,4 +357,4 @@ alias vext "vcall extendmatchtime" // rcon server commands // ====================== rcon_secure 1 -set rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick kickban \"sv_cmd bans\" \"sv_cmd unban *\" status \"sv_cmd teamstatus\" movetoauto movetored movetoblue movetoyellow movetopink" +set rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick kickban \"sv_cmd bans\" \"sv_cmd unban *\" status \"sv_cmd teamstatus\" movetoauto movetored movetoblue movetoyellow movetopink movetospec" -- 2.39.2