1

Topic: Need help with add_vote

Hello smile

I am playing the Mac version of Teeworlds 0.6.3 and i created a Server recently.
Everything is working fine so far, except for the votes i want to add in my server.cfg file.

If i want to change the map to ctf5 for example i have to write:
add_vote VOTENAME sv_map ctf5

But in some cases i must also have to change the scorelimit, the gametype with the map.
I heared it is possible to add more commands to one vote so the gametype and the scorelimit will be changed with the map too. But i could not make it work and all the instructions i found didn't help me either. =/
Could someone pls texplain to me what exactly i have to type to make it work, and give me an example? smile
like: what to type if i want to change the map to ctf5 with gametype ctf and scorelimit 1000 tongue

2

Re: Need help with add_vote

You can combine multiple commands with a semicolon ';'. Note that you have to quote the whole command then.

Kaito wrote:

like: what to type if i want to change the map to ctf5 with gametype ctf and scorelimit 1000 tongue

add_vote "Change map to ctf5" "change_map ctf5; scorelimit 1000"

3

Re: Need help with add_vote

thx for replying big_smile

but i already tried it like that before.
If i type it in like that, this happens:

[57ed1069][server]: skipped invalid command 'change_map ctf5; scorelimit 1000'

4

Re: Need help with add_vote

Ok i solved it.
sry heinrich, you instructed everything right ^^
it did not work because mei mac constantly replaced the "" signs with „ “ while i was writing the lines tongue
now it works perfectly

thanks for the help anyway big_smile

5

Re: Need help with add_vote

i dont know tongue