X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=commands.cfg;h=0e765b8a136cd83be6d5d0743421ac6b382f5fbf;hb=d2f6a02e95aff59f4ad4b6996ddf5db8d2458d89;hp=a9cdf1ca3a4318b0487f73fbac28bf304ccabf7d;hpb=396a421d09e701d6cf6bdad2354d39c06ce6bd2b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/commands.cfg b/commands.cfg index a9cdf1ca3..0e765b8a1 100644 --- a/commands.cfg +++ b/commands.cfg @@ -302,6 +302,11 @@ set sv_vote_command_restriction_movetoyellow "1;" set sv_vote_command_restriction_movetopink "1;" set sv_vote_command_restriction_movetospec "1;" +// help messages for votes that aren't implemeneted in the game code +// examples used here are based on the usage output of implemented votes +set sv_vote_command_help_restart "\nUsage:^3 vcall restart\n^7 No arguments required." +set sv_vote_command_help_gotomap "\nUsage:^3 vcall gotomap mapname\n^7 Where 'mapname' is the name of the map to go to.\n Type ^3lsmaps^7 to get a list of available maps to vote for." + // ================================= // voting - server/command/vote.qc // ================================= @@ -337,7 +342,7 @@ 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 vhelp "qc_cmd_svcmd vote help ${* ?}" alias vstatus "qc_cmd_svcmd vote status" alias vstop "qc_cmd_svcmd vote stop"