August 4, 201312 yr I'm really having difficulty making the script stop doing other things while attacking I will use "monster.interact("attack");" sleep a bit But after the sleep, it clicks away on the mini-map like 1 or 2 squares away, then attacks again. This significantly decreases exp/hr. I think what it is, is that I really honestly do not know what to put in the if statements. I don't know whether or not to add things like if (!client.getMyPlayer().isAnimating) if (!client.getMyPlayer().isUnderAttack) or what.. I'm new bare with me thanks!
August 4, 201312 yr if(!myPlayer().isUnderAttack()) { monster.interact("Attack"); } else { sleep(400); }