mIRC Homepage

Help in kick script

Posted By: bathc

Help in kick script - 23/04/05 12:52 PM

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

Re: Help in kick script - 23/04/05 12:55 PM

Up until this point how will mIRC know what random is. Any examples?
Posted By: bathc

Re: Help in kick script - 23/04/05 08:05 PM

like: aiurit this nick is random :\
understand?
Posted By: SladeKraven

Re: Help in kick script - 23/04/05 09:07 PM

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?
Posted By: tidy_trax

Re: Help in kick script - 23/04/05 09:20 PM

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

Re: Help in kick script - 24/04/05 01:00 AM

on *:join:#:{ kick # $nick }

that should cover every random nick <grin>
Posted By: SladeKraven

Re: Help in kick script - 24/04/05 01:07 AM

On @*:Join:#: { kick $chan $nick }

laugh
Posted By: DaveC

Re: Help in kick script - 24/04/05 01:14 AM

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

Re: Help in kick script - 24/04/05 01:26 AM

ROFL genius! :tongue:
Posted By: SladeKraven

Re: Help in kick script - 25/04/05 02:34 AM

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]
Posted By: RusselB

Re: Help in kick script - 25/04/05 04:56 AM

Another possibility, based on the original query
Code:
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
Posted By: SladeKraven

Re: Help in kick script - 25/04/05 05:00 AM

So many possibilities but I bet we're all wrong.
Posted By: DaveC

Re: Help in kick script - 25/04/05 06:25 AM

Better yet set the channel to ban everyone
Posted By: SladeKraven

Re: Help in kick script - 25/04/05 06:44 AM

Do you mean *!*@* ban to keep everyone out or ban them when they join hehehe.
Posted By: DaveC

Re: Help in kick script - 25/04/05 09:51 AM

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

Re: Help in kick script - 25/04/05 01:32 PM

Code:
On @*:Join:#: {
  var %x = $comchan($nick,0)
  while (%x) {
    kick $comchan($nick,%x) $nick
    ;maybe a ban here
    dec %x
  }
}
© 2020 mIRC Discussion Forums