CharmedOne Posted April 12, 2010 Report Share Posted April 12, 2010 I was wanting a code that kicked when 3 nicks enter & they all have the exact same gate number wasnt sure how to go about coding it so I thought id post my request. thanks Link to comment Share on other sites More sharing options...
err0r Posted April 12, 2010 Report Share Posted April 12, 2010 basically you want a clone scanner? when a person enters it checks to see how many nicks in the room have the same gate and if it's 3 or more it boots all nicks with the same gate? Link to comment Share on other sites More sharing options...
Guest Travis Posted April 12, 2010 Report Share Posted April 12, 2010 I'm wondering, is two nicks cloned ok, but three is too much? Link to comment Share on other sites More sharing options...
err0r Posted April 12, 2010 Report Share Posted April 12, 2010 I would suggest some form of queued send for when there are a lot that all join together but this worked for me on !*:JOIN:#:{ if ($ialchan($address($nick,1),$chan,0) >= 3) && ($me isop $chan) { if (!%cban) { access $chan ADD DENY $address($nick,1) 60 : Too many clones | set %cban on } var %c 1 while ($ialchan($address($nick,1),$chan,%c)) { kick $chan $gettok($v1,1,33) Too Many Clones inc %c } unset %cban } } Link to comment Share on other sites More sharing options...
CharmedOne Posted April 13, 2010 Author Report Share Posted April 13, 2010 Well i seen some trouble in a rioom i hung in & travis reason i said 3 or 4 nicks is at times buzzen messes up & chatters will have at least two of the same nicks in the room at one time didnt want to kick the chatters , just the trouble that comes in under 3 or 4 & even 5 nicks at times all with same gate number tho some of the nicks are different than the others. Oh & thanks error. Link to comment Share on other sites More sharing options...
err0r Posted April 13, 2010 Report Share Posted April 13, 2010 you are welcome Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now