|
katrana Newbie
Joined: 05 Oct 2002 Posts: 2
|
Posted: Sat Oct 05, 2002 12:59 am
Chase and disable trigger help |
I'm new at making zmud triggers, as in I tend to use alot of aliases but no triggers. The time has come to use a trigger, and well, it is a bit complicated for me. This is what I am looking for...
A trigger where I can type something in like
target Mong
then if I see
Mong is here.
to then
kill mong
Or if I am in battle and I see this..
Mong leaves west.
to chase them
I would then like to have something to where if I drop below a certain number of hps, say 100, the target would set itself to 1234, so it cannot chase anyone. The prompt looks like this...
<522hp(522) 240ma(329) 418mv(420)(38254) 9312gp >
Help please! |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Oct 05, 2002 5:26 am |
#AL target {#VAR target %1}
#TR {@target is here} {kill @target}
#TR {@target leaves (%w)} {%1}
#TR {^~<(%d)hp~(%d~) %dma~(%d~) %dmv~(%d~)} {#IF (%1 < 100) {#VAR target 1234}} {} {nocr|prompt}
LightBulb
Senior Member |
|
|
|
katrana Newbie
Joined: 05 Oct 2002 Posts: 2
|
Posted: Sat Oct 05, 2002 5:42 pm |
Thanks! It works beautifully!!!
|
|
|
|
|
|