 |
|
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
|

02-26-2014
, 01:00
Re: Custom Votes Redux (v1.2 - 2/20/14)
|
#11
|
Quote:
Originally Posted by sipster19
That doesn't do it for me. If I have a vote and it says, "Turn radar On?" and it's on, the players want it off, that leaves them no way to do so. It needs it work like chundo's plugin.
Quote:
Originally Posted by sipster19
I would like to see this added:
confirm - Displays a simple "Yes" or "No" vote. If "Yes" wins, the command will be executed (although no result parameter is returned); if "No" wins, nothing is executed.
|
|
Quote:
Originally Posted by sipster19
Expressions:
In addition to parameter replacement, Custom Votes has a handy expression replacement feature, which allows you to insert CVar values. Vote titles, vote commands, trigger notices, option keys and option values can all contain expressions.
Example title: "Turn all talk {!sv_alltalk|onoff}?"
This would parse to "Turn all talk on?" or "Turn all talk off?", depending on the current value of sv_alltalk.
Syntax: {[!]cvar_name[|modifier(s)]}
An initial "!" reverses the value of boolean CVars (useful for toggle votes). Any modifiers after the CVar determine how the variable displays. Current modifiers are "onoff", "yesno", "upper", "lower", and "capitalize." Multiple modifiers can be strung together (i.e. {sv_alltalk|onoff|capitalize}).
|
I'll look into this. You weren't very clear in your request, hence my confusion.
|
|
|
|