# Clrchan Script

**Category:** mIRC_Addon
**Original Author:** TX

## Description
This script provides a command to clear all modes, ops, voices, and bans for a specified IRC channel.

## Key Features
- **Clearchan Command**: Allows users to execute the `clearchan` command via `/msg Nick clearchan <#channel>` to reset the channel's mode settings.
- **Mode Clearing**: Clears all modes (`n`, `s`, `m`, `c`, `t`, `p`, `i`, `l`, `k`) for the specified channel.
- **Operator and Voice Management**: Removes all operators and voices from the channel.
- **Ban Removal**: Deletes all bans set on the channel.

## File Analysis
- **clrchan.tcl** — Contains the main script logic to handle the `clearchan` command, including mode clearing, operator/voice management, and ban removal. The script also logs when it is loaded.