Register to post in forums, or Log in to your existing account
 

 Related 
Contents
See also:
  Editing Status items
Feature Reference
  Aliases
  Macros
  Variables
  Functions
  Classes
  Triggers
  Buttons
  Gauges
  Paths
  Menus
  Events
  Modules
  Windows
  Packages
  Shared Package Library
  Package Editor
  Docked Windows
  Customizeable Toolbars
  Sessions
  Expressions
  Automapper Module
  Database Module
  Syntax Checking
  Tab Completion
  Status items
  Preferences
  Simutronics Support
  Pueblo Emulation
  Keyboard shortcuts
  MXP
  Threads
  ATCP
  Script Debugger
  Timestamps
  Lua Scripting
Related Links:
  #T+
  Create/Modify Settings
  Feature Summary
Status items [[cmud_statusbar]] 
"Status items" are text strings displayed in either the status bar at the bottom of the MUD output window, or in the main status window. These strings are evaluated for variable or function references before being displayed. They can also contain color using the %color function, or even MXP/HTML tags.

To create a status item displayed in the status bar of the current window, use the #STATUS command:

#STATUS {@hp/@maxhp hp}

will display a text item like: "100/300 hp" in the status bar if hp=100 and maxhp=300. As these variables change, the status bar is automatically updated.

To create a status item displayed in the main status window, use the #STWIN command. The %cr variable can be used to insert a newline for multiline status items.

You can create status items in the Package Editor using the Editing Status item screen.

Each status item can have an optional id field. You can use this id field to modify the value of an existing status item.

Status items can be enabled or disabled using the #T+ and #T- commands. If a status item is disabled, then it is not displayed in the status bar or status window.

Each individual status item can be displayed on the status line, status window, or both. Windows that contain more than one status item will display them in order of priority.
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net