# UCS:Registered

**Category:** Eggdrop_Bot
**Original Author:** Yann Richard (Ze)

## Description
This script provides functionality to determine if an IRC user is registered on UnderNet by parsing WHOIS responses and maintaining a local cache of registered users.

## Key Features
- **Event Handling**: Binds events like `raw 330`, `disconnect-server`, `join`, `part`, `kick`, and `sign` to update the registration status.
- **WHOIS Parsing**: Extracts username information from WHOIS responses for UnderNet userhosts.
- **Debugging**: Includes a debug facility to log script activities.
- **Registration Management**: Registers and unregisters users based on their nicknames and userhosts.

## File Analysis
- **UCS_Registered.tcl** — Main script providing functions to check if a user is registered, handle events, and update registration status.
- **UCS_Registered_Example.tcl** — Example usage of the main script to display channel information with registration status.