|
Sylmannemo Beginner
Joined: 20 Oct 2006 Posts: 18
|
Posted: Mon Oct 23, 2006 6:34 am
Prompt Help |
I'm having trouble setting a trigger that monitors my prompt as the prompt line itself contains <>'s but now as a start and a finish as #SETPROPMT would allow easier, but as a finishing aspect.
Using either a normal reflex or the #SETPROMPT could someone help me out? Preferably a trigger.
What I'm running right now is
#REGEX {H\:%1 M\: %2 \<%3\>} {
#var Currenthealth %1
#var currentmana %2
#var promptstats %3
I just can't get it to work though. A bit more explanation of the prompt setup is shown below.
H:312 M:309 <eb>
"e" on it means you have equilibrium.
"b" means you have balance.
"p" is prone
"f" is flying
"b" is blind.
"d" is deaf.
"s" is stunned.
"@" is extradimensional |
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Tue Oct 24, 2006 8:32 pm |
Code: |
#REGEX {^H\:(\d+) M\:(\d+) \<(.*?)\>} {currenthealth = %1;currentmana = %2;promptstats = %3} "" {nocr|prompt} |
|
|
|
|
|
|