# psyBNC.tcl

**Category:** Eggdrop_Bot
**Original Author:** BaRDaHL (bardahl@hackerstone.org)

## Description
This script is designed to integrate an Eggdrop bot with a psyBNC bouncer, allowing for direct control of the BNC's configuration through the bot's partyline. It provides commands to set various parameters such as password, username, away status, and more.

## Key Features
- **Commands**:
  - `setaway`: Set or clear the away message.
  - `setleavemsg`: Set or clear the leave message.
  - `bvhost`: Set a new virtual host for the BNC.
  - `jump`: Reconnect to the BNC server.
  - `aidle`: Enable or disable idling.
  - `autorejoin`: Enable or disable automatic reconnection on disconnect.
  - `setusername`: Set the username used by the bot with the BNC.
  - `addserver`, `delserver`, `listservers`: Manage connected servers.

## File Analysis
- **psyBNC.tcl** — Main script file containing all commands and configurations for interacting with the psyBNC bouncer. It binds specific dcc (direct connect) messages to execute various functions related to BNC management.
- **Configurations**: Contains settings for password, flags, partyline channel name, and other parameters necessary for proper operation.