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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
geniusclown
Magician


Joined: 23 Apr 2003
Posts: 358
Location: USA

PostPosted: Wed Jul 07, 2004 6:06 pm   

Status Windows woahs
 
I played with status windows early on and didn't like them, but I'm given them another go, so a couple quick questions to get me started...

First off, is there any way to use one command like (the main game window's), but keep the focus on other windows (Health, Healing, Combat, Debugging...)? My window is already crowded enough with all the individual windows' command lines turned off - I can't afford to turn them on.

Second, when using MXP, I'm having difficulty getting it to parse <send> commands correctly. I want my status window to show damage to each location of the body, and make it so I can point and click on what bodypart I want to heal. The command is "TAKE (patient) (body part)", so an example is:
quote:
Head injuries - <send "take @Patient external fresh head">EF: @ExternalFresh</send> (etc)

I can't get the send to parse out @Patient. I've tried using %concat %eval <> {} [], and several other ways, and it simply won't parse and send correctly. Also, relating to the above, every time I click on a link, the focus goes back to the main game window, so the status window switches away from what I'm working on.

Any help is appreciated.
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Wed Jul 07, 2004 6:56 pm   
 
Window focus is described in the multi-playing section of the zMud help file. I don't know how/if this relates to MXP though.

Did you try a syntax like:

<VAR patient>@Patient</VAR>

Head injuries - <send "take &patient external fresh head">EF: @ExternalFresh</send> (etc)
??? Just a guess.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Jul 08, 2004 5:24 am   
 
Use a floating command line. Disable 'Attached Command Line' on the User Interface window in Prefs.

Tested. Seems to work.
<!ENTITY Patient @Patient>Head injuries - <send "take &Patient; external fresh head">EF: @ExternalFresh</send>
Reply with quote
geniusclown
Magician


Joined: 23 Apr 2003
Posts: 358
Location: USA

PostPosted: Thu Jul 08, 2004 7:26 pm   
 
This was helpful. I have the links set up like I want now. I'm still having an issue with the focus changing constantly.

Is there a way to do <send> commands so that they don't shift the focus? Also, is there a way to have the floating command line send only to the main window, perhaps via a trigger in each window's settings?

Can I set up some windows to inherit certain settings (specifically macros) from the main window without setting them up in those individual windows?

On a seperate but related issue, when capturing lines that have hexidecimal color codes, the colored part shows as black-on-black in the new window. Is there a way to have #CAPTURE either capture the hex colors, or default it to gray-on-black instead?
Reply with quote
geniusclown
Magician


Joined: 23 Apr 2003
Posts: 358
Location: USA

PostPosted: Mon Jul 12, 2004 2:28 pm   
 
How about a way to use MXP hyperlink to execute an Alias?
Reply with quote
geniusclown
Magician


Joined: 23 Apr 2003
Posts: 358
Location: USA

PostPosted: Mon Jul 12, 2004 5:19 pm   
 
It seems like this shifting of focus is not intentional. While playing with MXP in alternate windows, the focus doesn't change. It's only when a <send> command is in the status window that the focus shifts to the main window. Can someone verify that this is a bug?
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net