ULX

Author Topic: Voteban, Votekick, Vote, Vote... everything (not !votemap)  (Read 3615 times)

0 Members and 1 Guest are viewing this topic.

Offline pikkip

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
Voteban, Votekick, Vote, Vote... everything (not !votemap)
« on: January 21, 2012, 07:38:18 AM »
Hello, i where getting tired for people who was afk, and/or just dint vote, is it possible to makesome kinda that if people did not vote, they wont be counted with the system...

etc. 7 players is on the server...
(Someone) makes a !votekick [Name]
4 Players vote Yes
1 Player vote No
2 Players is not voting
and the system then only count the number of players who voted, and not on how many there is on the server...

Maybe this can be easily done :3

Thanks,
ZeroXitreo

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Voteban, Votekick, Vote, Vote... everything (not !votemap)
« Reply #1 on: January 21, 2012, 07:49:22 AM »
You can change the number of people required for a vote to pass in the config. :)
Experiencing God's grace one day at a time.

Offline pikkip

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
Re: Voteban, Votekick, Vote, Vote... everything (not !votemap)
« Reply #2 on: January 21, 2012, 08:44:34 AM »
yes but i where thinking of that it where just counting the people who voted, not how many who need to vote, cause else if over 3 people voted, and most of them is yes, etc.

12 players, 3 vote yes, rest don't vote,

then insteat of it says that only 4 out of 12 voted and that it don't pass then, i want it to do something like: 4 out of 4 voted and those is the only thing its counting with the vote

if you get me D=

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Voteban, Votekick, Vote, Vote... everything (not !votemap)
« Reply #3 on: January 21, 2012, 10:09:29 AM »
I actually like this idea. Makes sense.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Voteban, Votekick, Vote, Vote... everything (not !votemap)
« Reply #4 on: January 21, 2012, 11:10:25 AM »
Okay, I'll add a config option on whether or not non-voters should be counted. :)
Experiencing God's grace one day at a time.

Offline pikkip

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
Re: Voteban, Votekick, Vote, Vote... everything (not !votemap)
« Reply #5 on: January 21, 2012, 03:53:28 PM »
yay, i helped :P xI

Offline krooks

  • Sr. Member
  • ****
  • Posts: 382
  • Karma: 32
  • I don't like video games.
    • Diamond Krooks
Re: Voteban, Votekick, Vote, Vote... everything (not !votemap)
« Reply #6 on: January 22, 2012, 12:00:55 AM »
Thanks Megiddo! And hanks pikkip for the idea, I think it's a great one.
My TTT server. Join the fun!

Offline pikkip

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
Re: Voteban, Votekick, Vote, Vote... everything (not !votemap)
« Reply #7 on: January 22, 2012, 11:32:03 AM »
TEEHEE

Offline pikkip

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
Re: Voteban, Votekick, Vote, Vote... everything (not !votemap)
« Reply #8 on: January 24, 2012, 11:41:50 AM »
*Update to topic*

What about throw a option for votekick and voteban time limit... ect. only every x seconds, the people who made the vote can make another 1 after the x time is gone... (only apply to voteban and votekick) this is basicly to prevent vote spammers for these kind of things...

Hope this will be added as well :3