# baritem
## Syntax:
/baritem **{name} {text} {pos} {len} [fore] [back] [group]**
## Use Case:
Defines a dynamic item to be displayed on the status bar.
## Arguments:
- **{name}** : Unique identifier.
- **{text}** : Text template (can include variables).
- **{pos}**  : Character position on the bar.
- **{len}**  : Maximum length.
- **[fore]**: (Optional) Foreground color.
- **[back]**: (Optional) Background color.
- **[group]**: (Optional) Script group.
## Examples:
1. **/baritem {hp} {HP: $hp} {1} {10} {10} {0} {combat}**
## See Also:
unbaritem, barseparator