• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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