Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quando tiver com X Spear voltar para tal Label
#10
(06-17-2013, 03:46 AM)Eduardoroeder Wrote:
Code:
1000 {Stop Attacking If} spearID:=7378 spearCount:=10 Misc.ItemCountEx(!spearID!)<!spearCount! StopAttackIf<>2  StopAttackIf:=2 Self.Stop() Killer.Stop() CaveBot.GoLabel(Start)
Muda o label pra o label que voce quer ir. E ai faz um teste, bota o macro ai vc tira todas as spear da tela e deixa menor que 10, e aperta no botao DeBug e coloca o resultado. Coloca as spear de volta e faz o mesmo pra ver o que está acontecendo.

O resultado com menos de 10 royal spears:

Start-Of-Macro
!spearID! has been set to 7378
!spearCount! has been set to 10

Misc.ItemCountEx(!spearID!) returned 3
[True] Misc.ItemCountEx(!spearID!)<!spearCount!

[True] StopAttackIf<>2

!StopAttackIf! has been set to 2

Self.Stop() returned 1

Killer.Stop() returned 1

CaveBot.GoLabel(Start) returned 1
End-Of-Macro

Resultado com mais de 10 royal spears:

Start-Of-Macro
!spearID! has been set to 7378
!spearCount! has been set to 10

Misc.ItemCountEx(!spearID!) returned 21
[False] Misc.ItemCountEx(!spearID!)<!spearCount!
[@] Exit of macro

End-Of-Macro
If I helped you click in "Give Reputation to this user"

Thanks =)

Se eu te ajudei clique em "Give Reputation to this user"

Obrigado =)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)