daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest Mar 27th, 2016 137 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Функции и пременные
  2. var n = '\n';
  3. var email = 'mail@yandex.ru';
  4. var pass = 'superCrutoyParol';
  5.  
  6. function Avtorizacia(){
  7.     var macros = '';
  8.     macros += 'TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=NAME:log_email CONTENT=' + email + n;
  9.     macros += 'SET !ENCRYPTION NO' + n;
  10.     macros += 'TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:NoFormName ATTR=NAME:pass CONTENT='+ pass + n;
  11.     macros += 'TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=*' + n;
  12.  
  13.     var rezultat = iimPlayCode(macros);
  14.    
  15.     if(rezultat > 0){
  16.         return true;
  17.     }
  18.     return false;
  19.  
  20. }
  21.  
  22. function getBalancePokupki(){
  23.     iimPlayCode ('TAG POS=2 TYPE=A ATTR=HREF:/account/insert EXTRACT=TXT');
  24.     var balance = iimGetLastExtract();
  25.     window.console.log(balance);
  26.     if(balance!='#EANF#'){
  27.         return balance;
  28.     }
  29.     return false;
  30. }
  31.  
  32. function getBalanceVivod(){
  33.     iimPlayCode ('TAG POS=2 TYPE=A ATTR=HREF:/account/payment EXTRACT=TXT');
  34.     var balance = iimGetLastExtract();
  35.     window.console.log(balance);
  36.     if(balance!='#EANF#'){
  37.         return balance;
  38.     }
  39.     return false;
  40. }
  41.  
  42. function bonus(){
  43.     var macros = '';
  44.     macros += 'URL GOTO=http://the-pirats.ru/account/bonus' + n;
  45.     macros += 'TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=NAME:bonus' + n;
  46.     var rezultat = iimPlayCode(macros);
  47.     window.console.log(rezultat);
  48.     if(rezultat > 0){
  49.         return true;
  50.     }
  51.     return false;
  52. }
  53.  
  54. function almazy(){
  55.     var macros = '';
  56.     macros += 'URL GOTO=http://the-pirats.ru/account/store' + n;
  57.     macros += 'TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=NAME:sbor' + n;
  58.     macros += 'TAG POS=1 TYPE=FONT ATTR=TXT:Рынок<SP>сбыта' + n;
  59.     macros += 'TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=NAME:sell' + n;
  60.     var rezultat = iimPlayCode(macros);
  61.     window.console.log(rezultat);
  62.     if(rezultat > 0){
  63.         return true;
  64.     }
  65.     return false;
  66. }
  67.  
  68. // Тело скрипта
  69. var macros = '';
  70. macros += 'TAB T=1' + n;
  71. macros += 'URL GOTO=http://the-pirats.ru/ \n';
  72. iimPlayCode(macros);
  73.  
  74. var pokupki = getBalancePokupki();
  75. if(!pokupki){
  76.     Avtorizacia();
  77. }
  78.  
  79. bonus();
  80. almazy();
  81.  
  82. var pokupki = getBalancePokupki();
  83. var vivod = getBalanceVivod();
  84.  
  85. if(pokupki){
  86.     iimPlayCode ('URL GOTO=http://the-pirats.ru/account/farm');
  87.     var balPokupki = parseInt(pokupki);
  88.     while(balPokupki>100){
  89.        
  90.         if(balPokupki>1250000){
  91.             iimPlayCode ('TAG POS=5 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=*');
  92.             balPokupki = balPokupki-1250000;
  93.             continue;
  94.         }
  95.        
  96.         if(balPokupki>250000){
  97.             iimPlayCode ('TAG POS=4 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=*');
  98.             balPokupki = balPokupki-250000;
  99.             continue;
  100.         }
  101.        
  102.         if(balPokupki>50000){
  103.             iimPlayCode ('TAG POS=3 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=*');
  104.             balPokupki = balPokupki-50000;
  105.             continue;
  106.         }
  107.        
  108.         if(balPokupki>1000){
  109.             iimPlayCode ('TAG POS=2 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=*');
  110.             balPokupki = balPokupki-1000;
  111.             continue;
  112.         }
  113.        
  114.         iimPlayCode ('TAG POS=5 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=*');
  115.         balPokupki = balPokupki-100;
  116.     }
  117. }
  118.  
  119. if(vivod){
  120.     var balVivod = parseInt(vivod);
  121.     if(balVivod>10){
  122.         var macros = '';
  123.         macros += 'URL GOTO=http://the-pirats.ru/account/payment' + n;
  124.         macros += 'TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:sum CONTENT='+ balVivod + n;
  125.         macros += 'TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=NAME:swap' + n
  126.         iimPlayCode (macros);
  127.     }
  128. }
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
 
Top