Hi there !
I have a problem with regexp and the censor plugins
i try to kick player who choose a name too short or with only dot
For the dot name
i have try to use this
^[.]$|^[.]{2,9}$
But it seems to doesn't work
i have replace that by that and it do what i want
<badname name=".">
<word>.</word>
</badname>
<badname name="...">
<regexp>[.]{2,9}</regexp>
</badname>
For the second regex i try to kick player with name who have less than 4 characters
i have try it
^[0-9a-zA-Z]{1,3}$
i have try to replace it by
<badname name="aaa">
<regexp>[0-9a-zA-Z]{3}\s</regexp> or <regexp>[0-9a-zA-Z]{3}</regexp>
</badname>
or
<badname name="aaa">
<regexp>^[0-9a-zA-Z]{3}$</regexp>
</badname>
it doesn't work. the first kick everyone, and the second is ignored
It appears that we can't specify the begin or end of a string
I have no error in bot log
Have you got any idea ?