Say i have an NPC on my alert list. Something like /alert add 1 npc "Bloodtribe Ancient"
Now, I can run a macro to tell me if the NPC is up. It would look something like this.
Code: Select all
Sub Main
/if $alert(1)==1 /target alert 1
/echo --$target(name)-- is up! -- Far: $target(distance) --
/return
But..
Say im in the middle of killing 3 mobs or quading 4 or something where i dont want to be disturbed, except for the echo
'/target alert 1' would screw lots of things up given one of those situations. What I can do to slightly remedy this is edit the script.
Code: Select all
Sub Main
/if $alert(1)==1 {
/varset $v1 $target(name)
/target alert 1
/varset $v2 $target(name)
/target "$v1"
/echo --$v2-- is up! -- Far: $distance($v2) --
}
/return
Code: Select all
Sub Main
/if $alert(1)==1 {
/varset v1 $alert(1).name
/echo --$v1-- is up! -- Far: $distance($v1) --
}
/return
Im also looking into making a very nice named pop script.. One that incorporates the SEQ filters.conf listings... Im not sure how abused that would be, though, when 5 people using MQ are in SK and Quill spawns and they all form an asterisk running to him =/. AC too for that matter..
/ponder
Thoughts?
