Here is a quickie script that I wrote to give you a side-by-side graph of your health vs your target's health. It uses statmon, so that must be active. It will create ASCII bar graphs similar to the bottom of "score" output. The graphs will only be displayed while you are fighting (which can actually be an early indicator when you are ambushed).
You have 2 ways to display the graphs (a third way coming later):
- You can display it in the MUD output window
- You can display it in an external window, using X11
- (coming soon)You will be able to put it into your status bar.
If you put it into the main MUD output window, it will be repeated similar to a prompt. Sometimes I do like looking at it this way to watch a "trend" as they scroll up the screen. To toggle between the display methods, type "/health-window". When /health-window toggles to displaying in an external X11 window, it will create one.
Other External Window Caveats!
The X11 system is external to Tinyfugue. There are Xservers available for all platforms. X11 ships on MacOSX install CDs, or can be downloaded from Apple. Of course any un*x/linux flavor will have X11 available. For Windows, 2 free Xservers that I am aware of are the one for cygwin and Xming. My testing is being done with me sitting at a Windows machine, but with all tinyfugue and Xclient windows being controlled & running on a NetBSD box. I have tested using both Xming and Microimages' MI/X Xservers on my windows boxes. I am using PuTTY on Windows for the computer I'm sitting in front of, and have turned on X11 forwarding.
It will create a window when you choose to display in a window. NOTE! It will NOT close the window when you change your mind. You will need to do that yourself. If you close the window itself, you can re-open it using "/show-health" (rather than cycling between modes using /health-window). Be aware that repeatedly doing this will bring up multiple status graph windows, and each will be independently live. Similarly, toggling between main MUD output window and external window will create a new instance of the external window every time. I do NOT believe that the Druware Windows Tinyfugue installation has access to the features necessary for this to work.
Get the script file here