# MSG Filter v1.1

**Category:** Eggdrop_Bot
**Original Author:** Neon (chris.neon@bigfoot.com)

## Description
This script filters the usage of the `.msg` command in IRC channels based on specific nicknames or channel names, preventing unauthorized users from sending messages to certain targets.

## Key Features
- **Command Filtering**: Prevents users without specific flags from using the `.msg` command for certain nicks or channels.
- **Logging**: Logs when a message is sent and who it was sent to in the server log.

## File Analysis
- **filename** — msgfilter.tcl — Contains the core logic of filtering unauthorized `.msg` commands and logging messages. It binds the `msg` command to the script, checks user flags, and processes the message if allowed.