Page 1 of 1
Fun Votes
Posted: Thu Dec 25, 2014 2:59 am
by TheElderScroller
Hello DDnet Community!
This is my first topic here and i just need some help with a vote..
I want to make a vote named "1", if voted removing itself and adding vote "2", removing when voted and adding "3", and so on....
i had it like this: 'add_vote 1 "remove_vote 1;add_vote 2 say end"
but if i want to expand it i get problems...
Thank You
Re: Fun Votes
Posted: Thu Dec 25, 2014 3:38 am
by laxa
What's the point of this vote ?
Re: Fun Votes
Posted: Thu Dec 25, 2014 2:55 pm
by TheElderScroller
That's the point, it's totally poitless...
I thought i post it in Off Topic cause I'm not sure where else...
The vote is just4fun, eventually i want to make a voting Quiz out of it

Re: Fun Votes
Posted: Thu Dec 25, 2014 6:08 pm
by laxa
...
If it's pointless, deen won't do it.
And I completely dislike this idea too.
Re: Fun Votes
Posted: Thu Dec 25, 2014 8:48 pm
by Soreu
Who said that deen have to do this? He just asked how to ...
TheElderScroller - to do this you need more cfg files, e.g.
line of your current .cfg:
Code: Select all
add_vote 1 "remove_vote 1; exec vote2.cfg"
vote2.cfg:
Code: Select all
add_vote 2 "remove_vote 2; exec vote3.cfg"
vote3.cfg:
Code: Select all
add_vote 2 "remove_vote 2; exec vote3.cfg"
Re: Fun Votes
Posted: Thu Dec 25, 2014 9:52 pm
by TheElderScroller
i'll give a try, thx
Re: Fun Votes
Posted: Fri Dec 26, 2014 12:32 am
by Soreu
now i see i did same line in 2nd and 3rd cfg file ;p
anyway, if you will have any troubles or questions - send me PM
Re: Fun Votes
Posted: Sun Dec 28, 2014 9:55 pm
by TheElderScroller
Finally i managed it with cfg files.. THX ^^
Re: Fun Votes
Posted: Sun Dec 28, 2014 9:57 pm
by deen
Can you post the resulting config files for others to see how it works?