mIRC Homepage

Help Needed Based Regex

Posted By: SLiprockS

Help Needed Based Regex - 17/02/08 01:58 PM

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
Posted By: Damsulegna

Re: Help Needed Based Regex - 17/02/08 02:02 PM

You would be more suited going here for a spamfilter regex.

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

Re: Help Needed Based Regex - 17/02/08 02:03 PM

if ( $regex($nick,/^[a-z][A-Z]\d[a-z]{2}\d[A-Z]\d{2}$/) ) { ban -k # $nick 2 drone. }
Posted By: SLiprockS

Re: Help Needed Based Regex - 17/02/08 02:05 PM

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..
Posted By: Collective

Re: Help Needed Based Regex - 17/02/08 02:06 PM

Where did he say he was the administrator of an unrealIRCd server?
Posted By: SLiprockS

Re: Help Needed Based Regex - 17/02/08 02:06 PM

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..
Posted By: Damsulegna

Re: Help Needed Based Regex - 20/02/08 09:04 AM

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.
Posted By: RoCk

Re: Help Needed Based Regex - 20/02/08 02:03 PM


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.
© 2022 mIRC Discussion Forums