i want a script which kick random nick & identd
if any person join the channel with random nick or identd
it will kick him/her
thanks
Up until this point how will mIRC know what random is. Any examples?
like: aiurit this nick is random :\
understand?
I understand yes, but how would mIRC know it's a random nickname? More vowels than there is consonants? Not numeric? Only 6 chars long?
As far as mIRC (Or computers in general) is concerned "aiurit" or "dkweyhf" is no more random than "bathc" or "SladeKraven"
You'll have to give us more to go on.
on *:join:#:{ kick # $nick }
that should cover every random nick <grin>
On
@*:Join:#: { kick $chan $nick }
Wait i read the request again carefully and came up with this
On @*:Join:#: { kick $chan $nick($chan,$rand(1,$nick($chan,0))) }
kick a random nick when a random nick joins the channel Mahahahahahahaha
I'd feel bad for that person though, everyone else would think they'd get away with murder.
[code]
on @*:Join:#: {
var %x = $nick($chan,0)
while (%x) {
if ($nick($chan,%x) != $me) { kick $chan $nick($chan,%x) }
dec %x
}
}
[code]
Another possibility, based on the original query
on @*:join:#:{
if $nick == $nick(#,$r(1,$nick(#,0))) .kick $chan $nick
}
Randomly picks a nick, then if it's the person that just joined, kicks them
So many possibilities but I bet we're all wrong.
Better yet set the channel to ban everyone
Do you mean *!*@* ban to keep everyone out or ban them when they join hehehe.
Both if only you could, and seek out any other channel there on your oped and ban them as well and then we could, um what else insanely unfair can i think of.