Advertisement

 Protection on IRC

Many users need protection and channel management tools, here we supply everyone with the tools and knowledge you'll need to IRC safely and securely operate your channel. There are two sections, one for channel protection and the other for personal protection.

Channel Protection

  • Guest Nick Kicker
  • !list Kicker
  • Mass Clone Flood Protection
  • Mass Kick Protection
  • Repeat Flood Protection
  • Ban Protection
  • Long Text Kicker
  • Spam/Advertisement Kicker [Fixed]
  • Clone Protection
  • Revolving Door Kicker
  • Seen Script Kicker
  • Swear Kicker
  • Control Code Kicker
  • Excess Punctuation Kicker
  • Caps Kicker
  • Caps Kicker #2
  • Control Code Kicker #2
  • Repeat Kicker
  • Personal Protection

  • Ctcp Flood Protection
  • Dcc Flood Protection
  • Query Window Flood Protection
  • Notice Flood Protection
  • Internet/PC Protection
  •  

    Seen Script Kicker
    Written by DeviL

    Keep your channel's traffic low and kick/ban users who trigger other user's seen scripts. This could cause bots and scripts to flood the channel with results. This code should catch these users and remove them. The code below goes into mIRC remotes.

    on @*:TEXT:*:#:{ if ($nick !isop #) { if ($1 == seen) { kick $chan $nick Do not use $ifmatch here. | ban $chan $nick 2 } elseif ($1 == !seen) { kick $chan $nick Do not use $ifmatch here. | ban $chan $nick 2 } elseif ($1 == .seen) { kick $chan $nick Do not use $ifmatch here. | ban $chan $nick 2 } } }

    The script listens to text on a channel you're op on. If mIRC detects a user attempting to use the seen scripts, we proceed to kick/ban that user. Op's on the channel are exempt according to the script. The entire code is exlained below.

    on @*:TEXT:*:#:{ if ($nick !isop #) { ;triggers when someone speaks in a chan and is not opped if ($1 == seen) { kick # $nick Do not use $ifmatch here. | ban # $nick 2 } ;checks if the first word spoken was "seen" elseif ($1 == !seen) { kick # $nick Do not use $ifmatch here. | ban # $nick 2 } ;checks if the first word spoken was "!seen" elseif ($1 == .seen) { kick # $nick Do not use $ifmatch here. | ban # $nick 2 } ; checks if the first word spoken was ".seen" } }