# Meltsad Anti-Advertise v2.6

**Category:** Eggdrop_Bot
**Original Author:** Unknown

## Description
A bot designed to ban users for advertising in IRC channels, with features like onjoin detection, flood protection, and random kick messages.

## Key Features
- **Anti-advertising**: Bans users who advertise specific keywords.
- **Onjoin Detection**: Checks for advertisements when a user joins the channel.
- **Flood Protection**: Detects repeated messages within a time frame to ban users.
- **Random Kick Messages**: Uses predefined messages to kick advertisers.
- **Channel-Specific Settings**: Allows setting different bad words and actions per channel.

## File Analysis
- **connect.php** — Establishes MySQL database connection for storing statistics.
- **meltsad.php** — Generates graphical statistics based on the stored data.
- **meltsad.tcl** — Main configuration file with various settings for detecting and banning advertisers.
- **meltsad_main.tcl** — Contains the main procedures to handle events like pub, notice, and msg commands.
- **meltsad.words** — List of bad words and their corresponding kick messages.
- **meltsad.rnd** — Random kick messages used when advertising is detected.
- **meltsad.sql** — SQL script for creating the database table to store statistics.
- **README** — Instructions for installation, configuration, and usage.