|
dragoneye69 Newbie
Joined: 11 Jul 2002 Posts: 5 Location: USA
|
Posted: Fri Jul 19, 2002 10:26 pm
Simple Prompt trigger |
I have made these before i don't know if its a brain freeze i'm messing up or what if you will give me the one line trigger for this
HP [ 41/54 ] SP [ 2/34 ] EP [ 52/52 ]
thats EXACTLY how it comes up in the mud . well the numbers change :) want to store theam into variables HP,MaxHP;SP,MaxSP...........you get the point
i know how to do the bar graphs and such just need to figure out the best way to extract the numbers ,, TY |
|
|
|
dragoneye69 Newbie
Joined: 11 Jul 2002 Posts: 5 Location: USA
|
Posted: Fri Jul 19, 2002 10:49 pm |
I do belive i Figured it out i just have to use a ~ before [ lol hehe, but ty
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Jul 19, 2002 11:59 pm |
This forum's not very good about displaying multiple spaces, so make sure you have the correct number of spaces between items when you make the actual trigger. Note that this is trigger on Prompt, not trigger on Newline.
#TR {HP ~[ (%d)/(%d) ~] SP ~[ (%d)/(%d) ~] EP ~[ (%d)/(%d) ~]} {#VAR HP %1;#VAR MaxHP %2;#VAR SP %3;#VAR MaxSP %4;#VAR EP %5;#VAR MaxEP %6} {} {nocr|prompt}
You may need multiple triggers to catch the normal, battle, and regeneration prompts since the spacing may be different.
LightBulb
Senior Member |
|
|
|
|
|