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
Golresh
Newbie


Joined: 20 Jun 2003
Posts: 1
Location: USA

PostPosted: Fri Jun 20, 2003 2:26 pm   

Problems with changing prompt
 
Im having problems setting up a healing trigger. The prompt changes during battles.
Heres an example of the prompt when not in battle,
(79%h 100%m 100%v 29000xp (Tranlor:100%))

and when in a battle.
(79%h 100%m 100%v 29000xp (Tranlor:100%)) [ 25% ]

I tried using %a to capture all the numbers and the name in the monitor section,the part in the (blah:100%), using this trigger.

(%a%h %a%m %a%v %axp (%a:%a%)) [ %a% ]


and using these statements
if %1 > 75 {cs %6} <cs is one of my healing aliases>

Im a total noob but this is what i could come up with just using the help texts provided. Any help would be greatly appreciated........

Golresh


P.S.
I play on Chaos its in the mudlisting.
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Fri Jun 20, 2003 9:47 pm   
 
Your prompt includes a few special characters that are used by zMUD for other things, so you need to escape them with a tilde. Something like this may work better for you:

#trigger {~(%d~%h %d~%m %d~%v %dxp ~(%w:%d~%~)~) ~[ %d~% ~]} {#if (%1 < 75) {cs %6}}

Good luck!
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