|
Oni Beginner
Joined: 28 Aug 2002 Posts: 16
|
Posted: Wed Aug 13, 2003 1:57 am
Help with a capture trigger |
[HP: 183/186 SP: 186/186] MON [A hedgehog]: 94%
[HP: 143/186 SP: 177/186]
I want to capture from the lines above. But the triggers that I have made do not work [#TRIGGER {~[ HP~: &HpVr1~/&HpVr2 SP~:} {}]. I want to capture these so I can use a gague. I can get the gague to work with preset vars but have not been able to get the trigger to catch them and keep updating. The var I am using is hpvr1/hpvr2 spvr1/spvr2 and mnvr1 for after mon and mnvr2 for the %. If anyone could help out I whould really appricate it.. Thanks |
|
|
|
moksha Novice
Joined: 13 Oct 2002 Posts: 37 Location: United Kingdom
|
Posted: Wed Aug 13, 2003 3:24 am |
Hi, these should work. Just cut and paste into the command line.
#TRIGGER {^~[HP~: (%d)~/(%d) SP~: (%d)~/(%d)~] MON ~[(*)~]~: (%d)~%$} {#VAR hpv1 {%1};#VAR hpv2 {%2};#VAR spv1 {%3};#VAR spv2 {%4};#VAR mnvr1 {%5};#VAR mnvr2 {%6}}
#TRIGGER {^~[HP~: (%d)~/(%d) SP~: (%d)~/(%d)~]$} {#VAR hpv1 {%1};#VAR hpv2 {%2};#VAR spv1 {%3};#VAR spv2 {%4}}
Moksha |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Aug 13, 2003 3:26 am |
#TR {HP: (%d)/(%d) SP: (%d)/(%d)} {#VAR hpvr1 %1;#VAR hpvr2 %2;#VAR spvr1 %3;#VAR spvr2 %4} {} {prompt}
#TR {MON ~[(*)~]: (%d)~%} {#VAR mnvr1 {%1};#VAR mnvr2 %2} {} {prompt} |
|
|
|
Oni Beginner
Joined: 28 Aug 2002 Posts: 16
|
Posted: Wed Aug 13, 2003 4:05 am |
Thanks LightBulb worked great.
|
|
|
|
|
|