|
Joined: Apr 2005
Posts: 3
Self-satisified door
|
OP
Self-satisified door
Joined: Apr 2005
Posts: 3 |
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
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Up until this point how will mIRC know what random is. Any examples?
|
|
|
|
Joined: Apr 2005
Posts: 3
Self-satisified door
|
OP
Self-satisified door
Joined: Apr 2005
Posts: 3 |
like: aiurit this nick is random :\ understand?
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
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?
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
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.
New username: hixxy
|
|
|
|
Joined: Sep 2003
Posts: 4,230
Hoopy frood
|
Hoopy frood
Joined: Sep 2003
Posts: 4,230 |
on *:join:#:{ kick # $nick }
that should cover every random nick <grin>
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
On @*:Join:#: { kick $chan $nick }
|
|
|
|
Joined: Sep 2003
Posts: 4,230
Hoopy frood
|
Hoopy frood
Joined: Sep 2003
Posts: 4,230 |
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
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
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]
|
|
|
|
Joined: Aug 2004
Posts: 7,252
Hoopy frood
|
Hoopy frood
Joined: Aug 2004
Posts: 7,252 |
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
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
So many possibilities but I bet we're all wrong.
|
|
|
|
Joined: Sep 2003
Posts: 4,230
Hoopy frood
|
Hoopy frood
Joined: Sep 2003
Posts: 4,230 |
Better yet set the channel to ban everyone
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Do you mean *!*@* ban to keep everyone out or ban them when they join hehehe.
|
|
|
|
Joined: Sep 2003
Posts: 4,230
Hoopy frood
|
Hoopy frood
Joined: Sep 2003
Posts: 4,230 |
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.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
On @*:Join:#: {
var %x = $comchan($nick,0)
while (%x) {
kick $comchan($nick,%x) $nick
;maybe a ban here
dec %x
}
}
|
|
|
|
|