coinwalk

snowybot

Dec 27th, 2023
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var oldestbal = parseFloat(document.getElementById('pct_balance').value);
  2. var base = (oldestbal/200); //dont change;
  3. var bellance = oldestbal;
  4. var botplus = base;
  5. var trget = parseFloat(oldestbal);
  6. var tens = (base*10);
  7. var sevens = (base*6.9);
  8. var eights  = (base*7.1)
  9. var floatingbal = 0;
  10. var james = oldestbal;
  11. var fran = oldestbal;
  12. var betnext = ((botplus*1).toFixed(8));
  13.  
  14.  
  15. function get(){
  16. bellance = document.getElementById('pct_balance').value;
  17. if ((bellance>(((Math.floor(bellance/tens))*tens)+sevens))&&(bellance<(((Math.floor(bellance/tens))*tens)+eights))&&(bellance!=floatingbal)) {
  18.      botplus = botplus*2;  
  19.      floatingbal  = parseFloat(bellance);
  20. }
  21. if ((bellance<=(botplus+botplus))&(bellance<(((Math.floor(bellance/tens))*tens)+sevens))){
  22.     botplus = base;
  23.     floatingbal = 0;    
  24.     fran  = parseFloat(bellance);
  25. }
  26. if (((bellance-(botplus*2))<=(james-(base*12)))&&(bellance<(((Math.floor(bellance/tens))*tens)+sevens))){
  27.     botplus = base;
  28.     floatingbal = 0;    
  29.     fran  = parseFloat(bellance);
  30. }
  31. if ((bellance<=(james-(base*24)))&&(bellance<(((Math.floor(bellance/tens))*tens)+sevens))){
  32.     botplus = base;
  33.     floatingbal = 0;
  34.     james  = parseFloat(bellance);    
  35.     fran  = parseFloat(bellance);
  36. }
  37. if (bellance>fran){
  38.     fran  = parseFloat(bellance);
  39. }
  40. if ((botplus>=(base*5))&&(bellance>=fran)&&(bellance<(((Math.floor(bellance/tens))*tens)+sevens))){
  41.     botplus = base;
  42.     floatingbal = 0;
  43.     james  = parseFloat(bellance);      
  44.     fran  = parseFloat(bellance);
  45. }
  46. if (bellance>(trget*24)){
  47. console.log("buy ebike");
  48. return;
  49. }
  50. betnext = ((botplus*1).toFixed(8));
  51. $('#pct_chance').val(49.5);
  52. $('#pct_bet').val(betnext);
  53. $('#a_hi').click();
  54. setTimeout(() => get(), 800);
  55. }
  56. get();
Add Comment
Please, Sign In to add comment