Hello friends:
I have the following problem
From my webchat, the users get connected with nicks
Invitado001
Invitado002
Invitado003
and so on...
This is OK
BUT
This is NOT OK at all..
Now, the clones' attack comes from nicknames like:
InvitadoJG
InvitadoHr
InvitadoFP
InvitadoxG
...
How can I restrict this, without affecting the users with nicks Invitado001, 002, 003, ###...?
Thank you very much to all =)
What regex must I use for this clones?
Re: What regex must I use for this clones?
/spamfilter add u gline 1d Drones! ^Invitado[^\d!]+![^@]+@[^:]+:.*$
Your IP:
Your Country:
Your Country:
-
- Posts: 36
- Joined: Thu Dec 27, 2007 8:48 am
Re: What regex must I use for this clones?
Thank you very much Stealth
This regexp solve the problem:
And if I want to ban this?
InvitadoHfTtts
with more than 2 letters after Invitado
And most important..
Where can I a learn about the regexp?
Thks Again
This regexp solve the problem:
Code: Select all
^Invitado[a-z][A-Z]!
InvitadoHfTtts
with more than 2 letters after Invitado
And most important..
Where can I a learn about the regexp?
Thks Again
Re: What regex must I use for this clones?
http://www.unrealircd.com/files/docs/un ... html#regex <- help for the regex Unreal uses.
This regex should cover anything beginning with "Invitado" and ending with anything that isn't numbers:
^Invitado[^\d!]+!
This regex should cover anything beginning with "Invitado" and ending with anything that isn't numbers:
^Invitado[^\d!]+!
Your IP:
Your Country:
Your Country:
-
- Posts: 36
- Joined: Thu Dec 27, 2007 8:48 am
Re: What regex must I use for this clones?
Thank you Jobe1986
Altough I solved it in another way, with this:
Anyway, thank you thank you thank you for your answers
Altough I solved it in another way, with this:
Code: Select all
^Invitado[a-z][A-Z]$
Re: What regex must I use for this clones?
That last regex you pasted will never, under any circumstances, match ANY user (using the u match).
it tries to make a "Nick!User@Host:Realname" match "CoolguyAzE" or such, exactly. That will never happen. The pattern has no !, @ or :, all of which are guaranteed to be present. Perhaps you wanted the $ to be a !
it tries to make a "Nick!User@Host:Realname" match "CoolguyAzE" or such, exactly. That will never happen. The pattern has no !, @ or :, all of which are guaranteed to be present. Perhaps you wanted the $ to be a !
Why the hell can't my signature be empty?
"Your message contains too few characters."
"Your message contains too few characters."