# ho_lusercount.pl

**Category:** Irssi_Script
**Original Author:** Garion

## Description
This script provides a statusbar item in Irssi that keeps track of the number of users on specified IRC networks by monitoring client connect and exit server notices.

## Key Features
- Tracks user counts for multiple IRC networks.
- Updates the statusbar every `ho_lusercount_delta_statusbar` seconds.
- Maintains history of user counts over time.
- Supports custom formatting of the statusbar item via `ho_lusercount_format`.
- Handles client connect and exit events through server notices.

## File Analysis
- **ho_lusercount.pl** — Main script file that defines the functionality, including event handling for lusers output and server events. It also manages history updates and statusbar refreshes.
- **ho_lusercount_history_line** — Irssi theme template used to format historical user count lines in the statusbar.
- **ho_lusercount_history_begin** — Irssi theme template indicating the start of a user count history display.
- **ho_lusercount_history_end** — Irssi theme template indicating the end of a user count history display.