1

Topic: Regular Expressions

I think Teeworlds need regular expressions in console.

Instead:

kick [XXX]Ghdghsiuh323''dsdfgsdaser

I prefere:

kick [XXX]*

or further:

kick [XXX]*323*

2

Re: Regular Expressions

Well, you see, I suggested this in some form, but it's "more code than fun", as someone already said. C++ Doesn't have regexp by default.

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

3

Re: Regular Expressions

The rcon kicking system with players ids is good imho. The kicking system of sports mod is not that good, because of some morons joining with weird characters in their names which u ( ok me ... I dont have an ascii code table printed next to my monitor ) cant write. The regex would solve that problem, but making it with ids will solve it too, in less code, and its more elegant.

We will meet again when the flowers spread their glorious scent of victory and the birds sing us the melody of justice...

4

Re: Regular Expressions

Yeah kicking the players with numbers is much easier and better.

I hope those bitches will stop randomly kicking ppl in the football mod...

annoying mad

*** JUSTICE ALWAYS WINS ***

5

Re: Regular Expressions

Yea thats what i am talking about. Yesterday I played and some "Choco Rabbit" started to randomly kick people. We should not let that happen. Most of them doesnt even notice there is a vote against them. Sad.

We will meet again when the flowers spread their glorious scent of victory and the birds sing us the melody of justice...

6

Re: Regular Expressions

yes you are right. but the problem is, when i configure the server that you need at least (players/2) positive votes, no one could kick the people, because no one votes.