|
Samus Novice
Joined: 01 Jan 2003 Posts: 32
|
Posted: Sat Jan 11, 2003 1:16 am
Why doesn't this work? |
How come this TR doesn't work?
#TR {~<Hp:(%d) Mv:(%d) Tnl:(%d) Tank:(%d)~>} {#IF (%4<100) {rescue @tank} {}} |
|
|
|
Castaway GURU
Joined: 10 Oct 2000 Posts: 793 Location: Swindon, England
|
Posted: Sat Jan 11, 2003 2:07 am |
How come you don't tell us how it doesn't work?
Doesn't it trigger, or does it not rescue? Which text is it supposed to capture?
Lady C. *no seer* |
|
|
|
Samus Novice
Joined: 01 Jan 2003 Posts: 32
|
Posted: Sat Jan 11, 2003 3:10 am |
Well it puts in {rescue cyx}{}
abd cyx would be the tank I want it to just put in
rescue cyx |
|
|
|
Emit Magician
Joined: 24 Feb 2001 Posts: 342 Location: USA
|
Posted: Sat Jan 11, 2003 5:31 am |
quote:
#TR {~<Hp:(%d) Mv:(%d) Tnl:(%d) Tank:(%d)~>} {#IF (%4<100) {rescue @tank} {}}
Well it puts in {rescue cyx}{}
well, thats strange to me. when i tested your trigger, it worked just fine. The problem you're having would most likely be caused by unbalanced curly braces, but the trigger you posted is balanced.
try using #send or #exec
#send {rescue @tank}
#exec {rescue @tank} |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Jan 11, 2003 6:34 am |
Don't forget to leave a space between sections.
{rescue cyx}{} means you probably have
#TR {~<Hp:(%d) Mv:(%d) Tnl:(%d) Tank:(%d)~>} {#IF (%4<100) {rescue @tank}{}}
when it should be
#TR {~<Hp:(%d) Mv:(%d) Tnl:(%d) Tank:(%d)~>} {#IF (%4<100) {rescue @tank} {}}
Of course, you don't need the final {} at all.
#TR {~<Hp:(%d) Mv:(%d) Tnl:(%d) Tank:(%d)~>} {#IF (%4<100) {rescue @tank}}
LightBulb
Senior Member |
|
|
|
|
|