06-27-2013, 05:27 AM
Hi,
I'd like to know with is possible to make a macro that if my cap or potion is <= X, he wil stop attacking creatures, go for the label that returns to the City and follow the script afterwards (The one witch deposite, buy potions, etc.)
Also, if possible after that, when the cap is fully restored or potions, another macro to apply backwards: Start attacking creatures and start the script made from the beginning.
I tried myself and didn't have any sucess at all.
That is what I tried for Cap:
Self.Capacity()<10
Cavebot.Stop()
CaveBot.GoLabel(City)
Self.Capacity()>350 (would change the number for 1 less than the max you have)
CaveBot.GoStart()
Didn't work out.
Someone can help?
Thanks.
I'd like to know with is possible to make a macro that if my cap or potion is <= X, he wil stop attacking creatures, go for the label that returns to the City and follow the script afterwards (The one witch deposite, buy potions, etc.)
Also, if possible after that, when the cap is fully restored or potions, another macro to apply backwards: Start attacking creatures and start the script made from the beginning.
I tried myself and didn't have any sucess at all.
That is what I tried for Cap:
Self.Capacity()<10
Cavebot.Stop()
CaveBot.GoLabel(City)
Self.Capacity()>350 (would change the number for 1 less than the max you have)
CaveBot.GoStart()
Didn't work out.
Someone can help?
Thanks.