 |
seishin69 Newbie
Joined: 15 Dec 2001 Posts: 2
|
Posted: Sat Dec 15, 2001 10:34 pm
Need help with trigger I can't figure out. |
Hmm, I need a trigger to basically kill mobs when I scan. I am new at this and need a little help to start me in the right direction.
When I scan, I'll see something like:
2 East from here you see:
(Golden Aura) Somemob
I want it to trigger to the value:
shoot east somemob
But as the inputs from the mud are in 2 separate lines of text, I cannot figure out a way to set the trigger.
Also, I am trying to figure out how do I get the trigger to ignore mobs with (Red Aura) instead. So if I scan and see:
3 East from here you see:
(Red Aura) Somemob1
(Golden Aura) Somemob2
My value for it will hopefully be:
shoot e somemob2
Will someone out there help me with this? As long as I get started on this, I think I'll be able to figure the rest out. I juz need some advice now.
Thanks. |
|
|
 |
wetahdid Beginner
Joined: 06 Dec 2001 Posts: 22
|
Posted: Sat Dec 15, 2001 11:13 pm |
hehe they're gunna tell you to read the help files just like me
|
|
|
 |
wetahdid Beginner
Joined: 06 Dec 2001 Posts: 22
|
Posted: Sat Dec 15, 2001 11:24 pm |
heh see my previos post... very similar...
|
|
|
 |
iljhar GURU

Joined: 10 Oct 2000 Posts: 1116 Location: USA
|
Posted: Sun Dec 16, 2001 12:52 am |
Do you want to shoot at every mob in any direction that doesn't have a red aura?
For example:
1 East from here you see:
(Golden Aura) Somemob1
2 East from here you see:
(Golden Aura) Somemob2
2 West from here you see:
(Golden Aura) Somemob3
(Re Aura) Somemob4
You want to shoot at all the mobs that don't have a red aura?
Iljhar |
|
|
 |
seishin69 Newbie
Joined: 15 Dec 2001 Posts: 2
|
Posted: Sun Dec 16, 2001 4:02 pm |
Nod... It's for multiple mobs... But i'll be happy if i can figure out how to shoot in one direction already...
And, it would be good if i could toggle it to shoot (Red Aura) or (Golden Aura) |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Dec 16, 2001 7:39 pm |
Heres your start, and the general advice...read the help until you understand everything this does, and why it doesn't work perfectly.
#ALIAS Scan {~scan;Mobs="";#T+ Scanning}
#CLASS Scanning {"disable"}
#VAR Direction ""
#VAR GotMob 0
#VAR Mobs ""
#VAR DontShoot "Red|Black"
#TRIGGER {%d (%w) from here you see:$} {Direction="%1"}
#TRIGGER {~((%w) Aura~) (*)$} {#IF (%ismember("%1",@DontShoot)) {#ADDITEM Mobs "%2";#ADDITEM Mobs @Direction};GotMob=1}
#TRIGGER {^(*)$} {#IF "%1"!="") {#IF (@GotMob=0} {#ADDITEM Mobs "%1";#ADDITEM Mobs @Direction};GobMob=0}} {Direction="";#ALARM {+1} {#IF (@Direction="") {ShootEm;#T- Scanning}}}}
#ALIAS ShootEm {#SHOW You have to write this part.}
#CLASS 0
I left a bunch of things to change in there. Hopefully I didn't forget too many little things. |
|
|
 |
|
|