# DccSpam.tcl

**Category:** mIRC_Addon
**Original Author:** Nor7on

## Description
This script is designed to detect and ban users sending spam or viruses via DCC (Direct Client-to-Client) transfers in specified IRC channels. It periodically checks for such activity and automatically bans offenders.

## Key Features
- **Cycle Time:** The script cycles through specified channels every 30 seconds.
- **Ban Duration:** Users detected as spammers are banned for 20 seconds.
- **File Types Monitored:** The script looks for files with extensions like `.exe`, `.bat`, `.vbs`, and others that might contain viruses or spam.

## File Analysis
- **DccSpam.tcl** — A Tcl script that implements the spam detection logic. It sets up timers, binds events, and performs actions based on detected file types.
  - **Cycle Time:** The script cycles through specified channels every 30 seconds to check for DCC spam activity.
  - **Ban Action:** If a user is detected sending potentially harmful files via DCC, the script bans them for 20 seconds and sends a kick message to all users in the channel.