• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] voting system?

Status
Not open for further replies.
Level 3
Joined
Dec 3, 2008
Messages
23
Can anyone point me in the direction of making a voting system in JASS?
I'd like to have a dialog pop up ,the players select choices, etc.
I'd like it to be generic, tho, and so I can have multiple users start.
Ie: All players can start a generic poll (yes/no questions) by typing
-poll This is my question?
All players can vote for a match 'start' or 'wait' by
-start
All players can vote for a kick:
-kick orange

How would I go about making this in JASS? Would I be reinventing the wheel? Is there already something lilke that?
 
Level 16
Joined
Oct 12, 2008
Messages
1,570
Well, in tutorial secion ( i thought) there is a GUI version for a votekick system, you can try to convert it and make it to more efficient JASS, (But you MUST still give credit, it is after all not your resource)
Then you can try to make the '-poll <Question>' thingy based off that one,,
 
Status
Not open for further replies.
Top