I got tired of vendor diving and shouting in newbie zones that I would pay x # of plat for a stack of wolf meat so I could work on my baking. I took a look at some of the other macs originally posted and came up with the following:
Code: Select all
#turbo
Sub Main
:wolf
/target nopcnear 100 npc "wolf"
/delay 5
/if n $target(hp,pct)!=100 {
/goto :Nextwolf
} else {
/Goto :Foundwolf
:Nextwolf
/target nopcnear 200 npc "wolf"
/delay 5
/if n $target(hp,pct)!=100 {
/goto :NextwolfA
} else {
/Goto :Foundwolf
:NextwolfA
/target nopcnear 300 npc "wolf"
/delay 5
/if n $target(hp,pct)!=100 {
/goto :NextwolfB
} else {
/Goto :Foundwolf
:NextwolfB
/target nopcnear 400 npc "wolf"
/delay 5
/if n $target(hp,pct)!=100 {
/goto :NextwolfC
} else {
/Goto :Foundwolf
:NextwolfC
/target nopcnear 500 npc "wolf"
/delay 5
/if n $target(hp,pct)!=100 {
/goto :NextwolfD
} else {
/Goto :Foundwolf
:NextwolfD
/target nopcnear 700 npc "wolf"
/delay 5
/if n $target(hp,pct)!=100 {
/goto :NextwolfEnd
} else {
/Goto :Foundwolf
:NextwolfEnd
/goto :wolf
:Foundwolf
/face
/echo DIST $target(distance) SPEED $target(speed) LEVEL $target(level) ID $target(id)
/endmacroOnly problem is unless I have the num lock on to continue in the direction the wolf is in I stop after a few seconds if I am depressing my forward key. Dunno if it just my machine or the code itself. If any one can figure it out I'd appreciate it


