# Topiclocker.tcl

**Category:** mIRC_Addon
**Original Author:** game_over

## Description
This script is designed to manage channel topics by locking them for normal users while allowing the bot itself to change or set the topic.

## Key Features
- **Topic Management**: The script allows setting and managing channel topics.
- **User Access Control**: Only users with specific flags can modify the topic.
- **Auto-Kick**: Users without the required flags attempting to change the topic are kicked from the channel.

## File Analysis
- **topiclocker.tcl** — This script file contains the logic for managing channel topics, including setting up initial conditions and handling topic changes based on user permissions. It uses `tcl_putquick` and `tcl_bind` commands to bind actions to specific events.
- **topc:lock** — A procedure that checks if a user has permission to change the topic and either sets or updates it accordingly, or kicks the user out.