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
Eowyn
Apprentice


Joined: 19 Jan 2001
Posts: 117
Location: Norway

PostPosted: Fri Dec 12, 2003 12:06 am   

Tweaking the MUD prompt option
 
To quote the helpfile: "In general, making your prompt more complicated will help the mapper work better."

My mapper works ok the way I've set it up, but not flawlessly - so I need your help.

My mud prompt might be any variation of the following:
o HP:Healthy MV:Fresh >
* HP:Healthy MV:Full >
* R HP:Healthy MV:Full >
HP:Healthy MV:Full >
* HP:Healthy SP:Full MV:Full >

Under MUD prompt configuration I've checked "complex prompt" (since the start of the prompt can be a LOT of different characters) and "allow string prompts" since every prompt ends with a >

This makes the mud work perfectly if I walk around slowly - getting output like this:

* HP:Healthy MV:Full > w
Somewhere Else
This place is somewhere else. Isn't it nice here?
[ obvious exits: E S W ]

However, the mapper adds the prompt to the roomname if I walk fast and get this:

w
* HP:Healthy MV:Full > Somewhere Else
This place is somewhere else. Isn't it nice here?
[ obvious exits: E S W ]

For the record, the room name is always in cyan..
Is there any way to keep Zmud from adding the prompt to the roomname when I walk fast?

Thanx :)

-E
Reply with quote
StackAdder
Wanderer


Joined: 30 Sep 2003
Posts: 77
Location: United Kingdom

PostPosted: Fri Dec 12, 2003 8:09 pm   
 
You could try a trigger to split the awkward line into two bits thus:
#tr {(* HP:(%a) MV:(%a)) > (*)} {%1;%4}
this has assumed you may want to snag the health and move status, and it may split prompt/command lines when you dn't want it to, but it might be a good starting point...
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