anythingpls

Untitled

Mar 19th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. var isAFCrunning = [true, true];
  2.  
  3. var tmpBattleMsg = battleMsg;
  4. battleMsg = function(c,t)
  5. {
  6. var ret = tmpBattleMsg(c,t);
  7. if ((isAFCrunning[0] || isAFCrunning[1]) && c.search(/winner=/) >= 0)
  8. {
  9. if(isAFCrunning[0])
  10. $("#battleclose").click();
  11. if(isAFCrunning[1])
  12. $("#loots_button").click();
  13. }
  14. return ret;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment