mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 08:04:39 +00:00
Abstain Terminalogy
This commit is contained in:
parent
bdd3084f5f
commit
f9270a8afe
1 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ function voteLog(%client, %typeName, %arg1, %arg2, %arg3, %arg4)
|
||||||
|
|
||||||
// votePercentLog(%client, %typeName, %key, %game.votesFor[%game.kickTeam], %game.votesAgainst[%game.kickTeam], %totalVotes, %game.totalVotesNone)
|
// votePercentLog(%client, %typeName, %key, %game.votesFor[%game.kickTeam], %game.votesAgainst[%game.kickTeam], %totalVotes, %game.totalVotesNone)
|
||||||
// Info: Logs voting percent events
|
// Info: Logs voting percent events
|
||||||
function votePercentLog(%display, %typeName, %key, %voteYay, %voteNay, %voteTotal, %voteNone) //%voteNone = Did Not Vote (DNV)
|
function votePercentLog(%display, %typeName, %key, %voteYay, %voteNay, %voteTotal, %voteNone) //%voteNone = Did Not Vote (DNV) (Abstain)
|
||||||
{
|
{
|
||||||
if($Host::ClassicVoteLog)
|
if($Host::ClassicVoteLog)
|
||||||
{
|
{
|
||||||
|
|
@ -104,7 +104,7 @@ function votePercentLog(%display, %typeName, %key, %voteYay, %voteNay, %voteTota
|
||||||
%display = %typeName SPC "[" @ %display @ "]";
|
%display = %typeName SPC "[" @ %display @ "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
$VoteLog = "[" @ %key @ "]" SPC %display SPC "Yay[" @ %voteYay @ "] Nay[" @ %voteNay @ "] Total[" @ %voteTotal @ "] Vote%[" @ %percent @ "] DNV[" @ %voteNone @ "]";
|
$VoteLog = "[" @ %key @ "]" SPC %display SPC "Yay[" @ %voteYay @ "] Nay[" @ %voteNay @ "] Abstain[" @ %voteNone @ "] Total[" @ %voteTotal @ "] Vote%[" @ %percent @ "]";
|
||||||
|
|
||||||
// this is the info that will be logged
|
// this is the info that will be logged
|
||||||
%logpath = $Host::ClassicVoteLogPath;
|
%logpath = $Host::ClassicVoteLogPath;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue