# Join & Kick Counter v2.0

**Category:** mIRC_Addon  
**Original Author:** Neuromancer

## Description
This script provides a basic kick and join counter for IRC channels. It requires `userinfo1.0.tcl` to be loaded before use, which tracks kicks in user information.

## Key Features
- Tracks the total number of joins to a channel.
- Tracks the total number of kicks from a channel or by a specific user.
- Provides commands to query join and kick counts via both IRC bot and channel messages.
- Automatically updates join and kick count files when new events occur.

## File Analysis
- **Counter.tcl** — Contains the core logic for tracking joins and kicks, handling commands, and updating count files.  
- **joincounter** — Proc that handles join events, increments the join counter, and provides a message to the user.
- **kickcounter** — Proc that handles kick events, updates the kick counter, and provides messages about the number of kicks performed by a specific user.
- **pub:totaljoins** — Proc that responds with the total number of joins for a channel when queried via IRC commands or messages.
- **dcc:totaljoins** — Proc that responds with the total number of joins for a channel when queried via DCC messages.
- **pub:totalkicks** — Proc that responds with the total number of kicks from a channel or by a specific user when queried via IRC commands or messages.
- **dcc:totalkicks** — Proc that responds with the total number of kicks from a channel or by a specific user when queried via DCC messages.