mIRC Home    About    Download    Register    News    Help

Print Thread
Help Needed Based Regex #195090 17/02/08 01:58 PM
Joined: Oct 2005
Posts: 24
S
SLiprockS Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Oct 2005
Posts: 24
Can anyone help on this. i need a script which can able to ban this type of nick such as:
qA4el3U62 (Aysuuuu@84-206-114-200.fibertel.com.ar)
jY9du7Y38 (dunbar@89-139-2-188.bb.netvision.net.il)
bA8mn9F83 (aykut1@62-30-180-10.cable.ubr06.dund.blueyonder.co.uk)
qB4fw7T43 (herman@bzq-79-177-138-164.red.bezeqint.net)

Thanks

Re: Help Needed Based Regex [Re: SLiprockS] #195091 17/02/08 02:02 PM
Joined: May 2003
Posts: 41
D
Damsulegna Offline
Ameglian cow
Offline
Ameglian cow
D
Joined: May 2003
Posts: 41
You would be more suited going here for a spamfilter regex.

http://forums.unrealircd.com/viewforum.php?f=18


If At First You Don't Succeed, Ask Someone For Help......
Re: Help Needed Based Regex [Re: SLiprockS] #195092 17/02/08 02:03 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
if ( $regex($nick,/^[a-z][A-Z]\d[a-z]{2}\d[A-Z]\d{2}$/) ) { ban -k # $nick 2 drone. }

Re: Help Needed Based Regex [Re: Damsulegna] #195093 17/02/08 02:05 PM
Joined: Oct 2005
Posts: 24
S
SLiprockS Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Oct 2005
Posts: 24
Originally Posted By: Damsulegna
You would be more suited going here for a spamfilter regex.

http://forums.unrealircd.com/viewforum.php?f=18


I'm actually looking for script rather adding them on spamfilter. thanks anyway..

Re: Help Needed Based Regex [Re: Damsulegna] #195094 17/02/08 02:06 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Where did he say he was the administrator of an unrealIRCd server?

Re: Help Needed Based Regex [Re: Collective] #195095 17/02/08 02:06 PM
Joined: Oct 2005
Posts: 24
S
SLiprockS Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Oct 2005
Posts: 24
Originally Posted By: Collective
if ( $regex($nick,/^[a-z][A-Z]\d[a-z]{2}\d[A-Z]\d{2}$/) ) { ban -k # $nick 2 drone. }


thanks seems like this one gonna work..

Re: Help Needed Based Regex [Re: Collective] #195225 20/02/08 09:04 AM
Joined: May 2003
Posts: 41
D
Damsulegna Offline
Ameglian cow
Offline
Ameglian cow
D
Joined: May 2003
Posts: 41
Originally Posted By: Collective
Where did he say he was the administrator of an unrealIRCd server?


Throwing options into the basket can only be a positive in my opinion. Perhaps remarks like such may hinder future suggestions.


If At First You Don't Succeed, Ask Someone For Help......
Re: Help Needed Based Regex [Re: Damsulegna] #195240 20/02/08 02:03 PM
Joined: Dec 2002
Posts: 2,016
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,016

Originally Posted By: Damsulegna

Throwing options into the basket can only be a positive in my opinion.


True, but the OP wasn't fishing for solutions. They seemed to know exactly what they wanted, which was a scripted regex solution. They just didn't know how to make it.