# Advertise.TCL Spam Detection Script

**Category:** mIRC_Bot
**Original Author:** RANA USMAN

## Description
This script is designed to detect and kick users who advertise URLs or send DCC spam on IRC channels. It can also cycle the channel after a specified time to check for advertisements.

## Key Features
- Detects and kicks users advertising URLs.
- Detects and bans users sending DCC files with specific extensions (e.g., .exe, .bat, .vbs).
- Cycles the channel at regular intervals to detect advertisements.
- Sends a warning message before banning users who advertise.
- Configurable settings for various aspects of the script's behavior.

## File Analysis
- **Advertise.TCL** — Contains the main logic and configuration for detecting and handling spam. It includes procedures for advertising, private spam, DCC spam detection, and channel cycling.
- **advs:banmask.tcl** — Defines different types of ban masks based on user input.
- **advertise:filter.tcl** — Filters out IRC color codes and other control characters from the text before processing.