mIRC Home    About    Download    Register    News    Help

Print Thread
#118238 23/04/05 12:52 PM
Joined: Apr 2005
Posts: 3
B
bathc Offline OP
Self-satisified door
OP Offline
Self-satisified door
B
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

#118239 23/04/05 12:55 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Up until this point how will mIRC know what random is. Any examples?

#118240 23/04/05 08:05 PM
Joined: Apr 2005
Posts: 3
B
bathc Offline OP
Self-satisified door
OP Offline
Self-satisified door
B
Joined: Apr 2005
Posts: 3
like: aiurit this nick is random :\
understand?

#118241 23/04/05 09:07 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
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?

#118242 23/04/05 09:20 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
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
#118243 24/04/05 01:00 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
on *:join:#:{ kick # $nick }

that should cover every random nick <grin>

#118244 24/04/05 01:07 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
On @*:Join:#: { kick $chan $nick }

laugh

#118245 24/04/05 01:14 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
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

#118246 24/04/05 01:26 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
ROFL genius! :tongue:

#118247 25/04/05 02:34 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
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]

#118248 25/04/05 04:56 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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

#118249 25/04/05 05:00 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
So many possibilities but I bet we're all wrong.

#118250 25/04/05 06:25 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Better yet set the channel to ban everyone

#118251 25/04/05 06:44 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Do you mean *!*@* ban to keep everyone out or ban them when they join hehehe.

#118252 25/04/05 09:51 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
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.

#118253 25/04/05 01:32 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
On @*:Join:#: {
  var %x = $comchan($nick,0)
  while (%x) {
    kick $comchan($nick,%x) $nick
    ;maybe a ban here
    dec %x
  }
}


Link Copied to Clipboard