nav.gif Home » Snippets » Duplicate Gate Kicker (edited)

ammenul.gif
ammenur.gif
Please Register/Login to enhance your access of our site and services. We support Twitter and Facebook logins. Logging in will reduce the amount of advertisments.
ammenul.gif
ammenur.gif


ammenutopl.gif
TG007 Snippet
ammenutopr.gif
Duplicate Gate Kicker (edited)
Category: Buzzen

About
This is errors code origionally I added the add user shit list the popups for both errors code & the shit list as someone had requested on errors snippit post.


menu * {
  Duplicate Gate Kick ( $+ $iif($group(#duplicate) == on,Enabled,Disabled) $+ ) 
  .$iif($group(#duplicate) == on,$style(2),$style(0)) ON:{ .enable #duplicate | echo $active 0,4Duplicate Gate Kick 0,12Enabled }  
  .$iif($group(#duplicate) == off,$style(2),$style(0)) Off:{ .disable #duplicate  | echo $active 0,12Duplicate Gate Kick 0,4Disabled }
  .-
    Shitlist Kick ( $+ $iif($group(#shitlist) == on,Enabled,Disabled) $+ ) 
  .$iif($group(#shitlist) == on,$style(2),$style(0)) ON:{ .enable #shitlist | echo $active 0,4Shitlist Kick 0,12Enabled }  
  .$iif($group(#shitlist) == off,$style(2),$style(0)) Off:{ .disable #shitlist  | echo $active 0,12Shitlist Kick 0,4Disabled }
 
}
 
#duplicate off
 
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)) {
      var %shitlist,$nick $?!="Put User On Shitlist??"
      if (False isin %shitlist,$nick) { halt }
      if (shitlist,$nick) .auser shitlist $+(*!*, $Ial($nick).addr) $nick
      .kick $chan $gettok($v1,1,33) Too Many Clones
      inc %c
    }
    unset %cban
  }
}
 
#duplicate end
 
 
#shitlist off
 
on shitlist:JOIN:#: {
  access # add deny $+(*!*, $Ial($nick).addr) 15 : ShitListed
  .kick $chan $nick
}
 
#shitlist end


Comments

extremity Posted on: 8/5/10
avatarSooo.. when a user joins this script can potentially popup a question window which halts the script?

CharmedOne Posted on: 8/5/10
avatarwell it only halts on the banlist if you want it to, then it does the kick etiher way the halt wont stop it from kicking

extremity Posted on: 8/7/10
avatarIt worked once..then it quit. I guess I broke it. When is it supposed to popup the ? "Put User On Shitlist??"

CharmedOne Posted on: 8/7/10
avatarHmm OMG you broke it , cries, how did it break

Sorry you must register and log-in to post comments
ammenul.gif
ammenur.gif
ammenutopl.gif
Info
ammenutopr.gif
Snippet Information
Creator:CharmedOne
Date Added:8/5/10
Tags:
Problem?Report Snippet
ammenul.gif
ammenur.gif



19 user(s) currently browsing site (0 members, 19 guests, 0 anonymous)
No Members Logged In

12 Users in IRCommunity
inføвøт, err0r, «Chãin™», ωαяяιοя™, ♥fiestýβสbỳ♥, båbyġurł, Enya, Timeless, «·Ħåĺø·», ﴾Ɣ﴿ⓨⓢⓣⓘⓒ★§ⓟⓔⓛⓛ, danger , [☠] Ƙʀʏᴘтιӿ [☠]



lhfooter.gif
TechDesigns007.com | Valid XHTML 1.0 | Valid CSS | Load Time: 0.043660 sec(s)
rfooter.gif


Latest Alert: 10.14.2011 mIRC 7.22 released
oldline
oldline
oldline
oldline