mIRC Homepage
Posted By: kitsaras is possibe? - 09/01/09 03:26 AM

is it possible to convert that to .mrc for drone check?

Code:
  
 if {[regexp {^[a-z]{4,}![a-z]{4,}$} $nick!$id]} {
    if {(![string match {*[aeiou]*} $nick]) || ([regexp {^[^aeiou]{4}|[aeiou]{4}|q[^ua]|[^aeioux]x[^aeiouyx]|[^aeiouy]{5}} $nick message] && ![regexp {a{3}|e{3}|i{3}|o{3}|u{3}} $nick])} {
	 if {![info exists message]} { set message "Possible drone" }
     kick # $nick  *$message*

}
    
if {![string match *$id* $nick] && [regexp {q[bcdfghknpqrstwzxv]|x[dfghkmnqrvz]|z[bcdfhmqrtvx]|v[bfghkmnqxw]|g[zv]|kz|bgb|wj|lx|jwm} $nick message]} {
kick # $nick *$message*
}



thanks a lot.
Posted By: argv0 Re: is possibe? - 09/01/09 05:25 AM
Yes.
Posted By: kitsaras Re: is possibe? - 09/01/09 10:52 AM
So Can U help me pls?
Posted By: Tomao Re: is possibe? - 09/01/09 06:59 PM
This may work:

Code:
on @*:JOIN:#: {
  if ($regex($nick,/^([a-z]{4,})/S)) {
    kick # $nick possible drone.
  }
  elseif ($regex($nick,/^(q[bcdfghknpqrstwzxv]|x[dfghkmnqrvz]|z[bcdfhmqrtvx]|v[bfghkmnqxw]|g[zv]|kz|bgb|wj|lx|jwm)/Si)) {
    kick # $regml(1) possible drone.
  }
}
Posted By: kitsaras Re: is possibe? - 10/01/09 02:11 AM
thanks a lot!
Posted By: kitsaras Re: is possibe? - 11/01/09 09:40 PM

but dont works frown

• Joins: MhKvIyYk(~MhKvIyYk@147.52.43.124)

no action frown
Posted By: Tomao Re: is possibe? - 11/01/09 11:00 PM
Ok, I have edited it:

Code:
on @*:JOIN:#: {
  if ($calc($regex($nick,/[a-zA-Z0-9]/gS)) >= 4) {
    kick $chan $nick possible drone.
  }
  elseif ($regex($nick,/^(q[bcdfghknpqrstwzxv]|x[dfghkmnqrvz]|z[bcdfhmqrtvx]|v[bfghkmnqxw]|g[zv]|kz|bgb|wj|lx|jwm)/gSi)) {
    kick # $regml(1) possible drone.
  }
}
Posted By: kitsaras Re: is possibe? - 24/01/09 11:51 PM

Sorry for the delay on the reply i was out of town
i test it and i'll inform u thanks a lot smile
© mIRC Discussion Forums