From: Samual Date: Sat, 3 Dec 2011 18:29:06 +0000 (-0500) Subject: List some new commands (their functions still need added) X-Git-Tag: xonotic-v0.6.0~188^2~28^2~194 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=63cd9ca069e838bf30a785dfc3500c50fdf94340;p=xonotic%2Fxonotic-data.pk3dir.git List some new commands (their functions still need added) --- diff --git a/qcsrc/server/vote.qc b/qcsrc/server/vote.qc index e3855c2d9..d25ae9513 100644 --- a/qcsrc/server/vote.qc +++ b/qcsrc/server/vote.qc @@ -445,9 +445,13 @@ void VoteCommand_(float request) // Do not hard code aliases for these, instead create them in commands.cfg... also: keep in alphabetical order, please ;) #define VOTE_COMMANDS(request,caller,arguments) \ - VOTE_COMMAND("abstain", VoteCommand_abstain(request, caller), "", VC_ASGNMNT_CLIENTONLY) \ - VOTE_COMMAND("help", VoteCommand_macro_help(caller), "", VC_ASGNMNT_BOTH) \ - VOTE_COMMAND("stop", VoteCommand_stop(request, caller), "", VC_ASGNMNT_BOTH) \ + VOTE_COMMAND("abstain", VoteCommand_abstain(request, caller), "Abstain your vote in current poll", VC_ASGNMNT_CLIENTONLY) \ + VOTE_COMMAND("force", VoteCommand_force(request, caller), "Force a result of a vote", VC_ASGNMNT_SERVERONLY) \ + VOTE_COMMAND("help", VoteCommand_macro_help(caller), "Shows this information", VC_ASGNMNT_BOTH) \ + VOTE_COMMAND("no", VoteCommand_no(request, caller), "Vote no in current poll", VC_ASGNMNT_CLIENTONLY) \ + VOTE_COMMAND("status", VoteCommand_status(request, caller), "Prints information about current poll", VC_ASGNMNT_BOTH) \ + VOTE_COMMAND("stop", VoteCommand_stop(request, caller), "Immediately end a vote", VC_ASGNMNT_BOTH) \ + VOTE_COMMAND("yes", VoteCommand_yes(request, caller), "Vote yes in current poll", VC_ASGNMNT_CLIENTONLY) \ //VOTE_COMMAND("", VoteCommand_(request, caller, arguments), "", ) \ /* nothing */