Fernando Oliveira
Wanderer
Hi,
I would appreciate if someone help me in this macro
I want to search in some container, like my ring container, if there is some specific ring there
Example:
if @findtype 0x13b2 'any' 'Container'
if property 'Faster Casting Recovery' 'found' == 3
sysmsg 'Found the ring'
else
sysmsg 'Not Found'
endif
But in this example, i will random search for a ring in the middle of lots and see if this ring is the one. It won´t search all rings
I tryd this:
for 1 to 100
if @findtype 0x13b2 'any' 'Container'
if property 'Faster Casting Recovery' 'found' == 3
sysmsg 'Found the ring'
else
sysmsg 'Not Found'
endif
endfor
Doesn´t work too, bc it searchs for property on the same ring 100x. So it will appear same msg 100x.
Another Try:
while @findtype 0x13b2 'any' 'Container'
if property 'Faster Casting Recovery' 'found' == 3
move to container x
else
move to container y
endif
endwhile
This works +-, bc it will move the rings with the props and move the others to other place. But i don´t want to move items, just to know if there is the ring i want on my container. and if i don´t move the rings, it will do a infinity loop.
I would like to search the props in all rings, but i don´t know how to make a macro that search all the rings i have in my container.... it has to search the props and ignore the previus analyzed item on the next search and so on.
Does anyone know how to do it? Is it possible?
Thank you!
I would appreciate if someone help me in this macro
I want to search in some container, like my ring container, if there is some specific ring there
Example:
if @findtype 0x13b2 'any' 'Container'
if property 'Faster Casting Recovery' 'found' == 3
sysmsg 'Found the ring'
else
sysmsg 'Not Found'
endif
But in this example, i will random search for a ring in the middle of lots and see if this ring is the one. It won´t search all rings
I tryd this:
for 1 to 100
if @findtype 0x13b2 'any' 'Container'
if property 'Faster Casting Recovery' 'found' == 3
sysmsg 'Found the ring'
else
sysmsg 'Not Found'
endif
endfor
Doesn´t work too, bc it searchs for property on the same ring 100x. So it will appear same msg 100x.
Another Try:
while @findtype 0x13b2 'any' 'Container'
if property 'Faster Casting Recovery' 'found' == 3
move to container x
else
move to container y
endif
endwhile
This works +-, bc it will move the rings with the props and move the others to other place. But i don´t want to move items, just to know if there is the ring i want on my container. and if i don´t move the rings, it will do a infinity loop.
I would like to search the props in all rings, but i don´t know how to make a macro that search all the rings i have in my container.... it has to search the props and ignore the previus analyzed item on the next search and so on.
Does anyone know how to do it? Is it possible?
Thank you!