SHARE
TWEET

Untitled

a guest Nov 18th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $('<div id="cfg_options"><div  id="infoAtak" style="background-position: '+((getCookie("_IA")=="true")?'0px -22px':'0px 0px')+'; width: 18px; position: absolute; left: 122px; top: 230px; padding: 4px 4px 0px;"></div></div>').appendTo("#panel").click(function(){
  2.     var d=new Date();d.setTime(d.getTime()+3600000*24*30);
  3.     if (getCookie("_IA")=="true"){
  4.         setCookie("_IA",false,d);
  5.         $("#infoAtak").css("background-position","0px 0px");
  6.     }
  7.     else{
  8.         setCookie("_IA",true,d);
  9.         $("#infoAtak").css("background-position","0px -22px");
  10.     }
  11. });
  12. oldFight=fight;
  13. fight=function(h){
  14.      if (isset(h.init)) {
  15.          var a = []
  16.           , p = [];
  17.           var wyslac=true;
  18.             for (var c in h.w) {
  19.              if (h.w[c].gender=="x")
  20.                 wyslac=false;            
  21.             if (h.w[c].team != 2) {            
  22.                 a.push(h.w[c].name + "(" + h.w[c].lvl + h.w[c].prof + ")")
  23.             } else {
  24.                 p.push(h.w[c].name + "(" + h.w[c].lvl + h.w[c].prof + ")")
  25.             }
  26.            
  27.            
  28.         }if (wyslac){
  29.             if (hero.hp>1){
  30.                 if (getCookie("_IA")=="true"){
  31.                   _g('chat&c='+esc("123)"));
  32.                 }
  33.             }          
  34.         }
  35.      }
  36.      oldFight(h);
  37. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top