|
Golresh Newbie
Joined: 20 Jun 2003 Posts: 1 Location: USA
|
Posted: 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. |
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: 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! |
|
|
|
|
|