Hi guys, I had been using the LS MM macro a while back and noticed an interesting use of locations...
I was wondering how it worked so I could use it is a mac I have to kill static spawns in instances rather then just warping and targeting...
An extract that I would have thought would do the job (or close to it) that I have taken from the MM mac is below... Any ideas what I am missing?
I usually get the error "/for loop using invalid variable".
Thanks
I was wondering how it worked so I could use it is a mac I have to kill static spawns in instances rather then just warping and targeting...
An extract that I would have thought would do the job (or close to it) that I have taken from the MM mac is below... Any ideas what I am missing?
I usually get the error "/for loop using invalid variable".
Thanks
Code:
Sub Main
/declare Mobloc[3] string outer
/declare intcount int local
/call Warping
/return
Sub Warping
/varset Mobloc[1] -485, -483, 73
/varset Mobloc[2] -504, -535, 58
/varset Mobloc[3] -471, -570, 44
:warploop
/echo testing
/delay 5s
/warp loc ${Mobloc[${intcount}]}
/goto :warploop
/next intcount
/end
/return
Last edited: