Raised This Month: $51 Target: $400
 12% 

Custom Votes Redux (v1.7 - 4/13/14)


Post New Thread Reply   
 
Thread Tools Display Modes
sipster19
Senior Member
Join Date: Mar 2011
Old 02-25-2014 , 23:54   Re: Custom Votes Redux (v1.2 - 2/20/14)
Reply With Quote #41

Quote:
Originally Posted by ReFlexPoison View Post
Why not just use the options vote and set "no" to do nothing...?
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.

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}).

Last edited by sipster19; 02-25-2014 at 23:54.
sipster19 is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 02-26-2014 , 01:00   Re: Custom Votes Redux (v1.2 - 2/20/14)
Reply With Quote #42

Quote:
Originally Posted by sipster19 View Post
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 View Post
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 View Post
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.
ReFlexPoison is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 02-26-2014 , 18:56   Re: Custom Votes Redux (v1.2 - 2/20/14)
Reply With Quote #43

Quote:
Originally Posted by ReFlexPoison View Post
I'll look into this.

Last edited by robotortoise; 02-26-2014 at 18:56.
robotortoise is offline
Creampuffyness
Senior Member
Join Date: Jun 2009
Old 02-27-2014 , 18:47   Re: Custom Votes Redux (v1.2 - 2/20/14)
Reply With Quote #44

Reflex anything about my question a page back? Anyway to set a single player to start votes?
Creampuffyness is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 02-27-2014 , 19:37   Re: Custom Votes Redux (v1.2 - 2/20/14)
Reply With Quote #45

Quote:
Originally Posted by Creampuffyness View Post
Reflex anything about my question a page back? Anyway to set a single player to start votes?
I'll introduce that in the next build.
ReFlexPoison is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 03-01-2014 , 14:51   Re: Custom Votes Redux (v1.3 - 3/1/14)
Reply With Quote #46

Pushed Version 1.3 - 3/1/14
  • Added ability to start votes rather than having player manually choose selections
  • Added On/Off on/off formatting for control variable votes
  • Added Yes/No yes/no formatting for vote casts
  • Added simple votes which don't require vote selections
  • Added chat notifications for when a vote starts, is cast upon, passes, or fails
  • Added {VOTER_STEAMID} and {TARGET_STEAMID} to vote formatting
  • Removed bots from ratio calculations
I updated the configuration file and translations so make sure to fix up your votes with proper formatting. A lot of things have changed, so I can't assure a perfect plugin. Let me know if you have any issues and I'll attempt to resolve the issue asap.

Last edited by ReFlexPoison; 03-01-2014 at 14:51.
ReFlexPoison is offline
ph
AlliedModders Donor
Join Date: Mar 2006
Old 03-01-2014 , 15:40   Re: Custom Votes Redux (v1.3 - 3/1/14)
Reply With Quote #47

I have been using, Players Votes Redux

When voting occurs i.e. voteban, - player get's listed at the top of the menu, rather searching the player through the menu. I reverted back to Players Votes Redux due to complaints, as players did not enjoy searching for for the player, scrolling through the menu.


I hope you understand what I mean.
__________________

Last edited by ph; 03-01-2014 at 15:42.
ph is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 03-01-2014 , 15:50   Re: Custom Votes Redux (v1.3 - 3/1/14)
Reply With Quote #48

Quote:
Originally Posted by ph View Post
I have been using, Players Votes Redux

When voting occurs i.e. voteban, - player get's listed at the top of the menu, rather searching the player through the menu. I reverted back to Players Votes Redux due to complaints, as players did not enjoy searching for for the player, scrolling through the menu.


I hope you understand what I mean.
If that was your only reason for not using the plugin previously I don't know why you didn't suggest it in the first place. I just reposted the build with that included as I didn't attach the appropriate compiled binary in the zip the first time. Let me know if you have any other problems.
ReFlexPoison is offline
ph
AlliedModders Donor
Join Date: Mar 2006
Old 03-01-2014 , 16:17   Re: Custom Votes Redux (v1.3 - 3/1/14)
Reply With Quote #49

Thank you.
__________________
ph is offline
ph
AlliedModders Donor
Join Date: Mar 2006
Old 03-01-2014 , 17:06   Re: Custom Votes Redux (v1.3 - 3/1/14)
Reply With Quote #50

Installed on 8 popular servers and working nicely.

Feedback

- Once a player is voted, the menu should "automatically close" but it doesn't. It goes to the home/root menu screen displaying option votekick, voteban, votemute.

Can the menu automatically close, once a vote is casted? rather than pressing "9" to exit.
__________________

Last edited by ph; 03-01-2014 at 17:06.
ph is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode