So i decided to edit a file I saw and try to make something to my liking of it, but I think I am using the alert code wrong or something for some reaon it only tells me of one alert, can someone please tell me what I did wrong, or show me an exampe of an easier way to do what Im trying.. thansk
- autotrack.mac -
|
| Usage: /Macro autotrack
Sub Main
/alert clear 1
/alert clear 2
/alert clear 3
/alert clear 4
/alert clear 5
/alert clear 6
/alert clear 7
/alert clear 8
/alert add 1 npc "overseer"
/alert add 2 npc "hinvat deathbringer"
/alert add 3 npc "anivil the blade"
/alert add 4 npc "shadowmaster vinta"
/alert add 5 npc "glykus"
/alert add 6 npc "an enraged warboar"
/alert add 7 npc "zelrin"
/alert add 8 npc "tagrin"
:Track
/doevents
/if $alert(1)==TRUE {
/target alert 1
/delay 10
/echo $target(name,clean) is still up, get to Killing!
}
/delay 10
/if $alert(2)==TRUE {
/target alert 1
/delay 10
/echo $target(name,clean) is still up, get to Killing!
}
/delay 10
/if $alert(3)==TRUE {
/target alert 1
/delay 10
/echo $target(name,clean) is still up, get to Killing!
}
/delay 10
/if $alert(4)==TRUE {
/target alert 1
/delay 10
/echo $target(name,clean) is still up, get to Killing!
}
/delay 10
/if $alert(5)==TRUE {
/target alert 1
/delay 10
/echo $target(name,clean) is still up, get to Killing!
}
/delay 10
/if $alert(6)==TRUE {
/target alert 1
/delay 10
/echo $target(name,clean) is still up, get to Killing!
}
/delay 10
/if $alert(7)==TRUE {
/target alert 1
/delay 10
/echo $target(name,clean) is still up, get to Killing!
}
/delay 10
/if $alert(8)==TRUE {
/target alert 2
/delay 5
/echo $target(name,clean) is still up, get to Killing!
}
/delay 1200
/goto :Track
}
/delay 10s
/goto :Track
/return