nPhoenix

PKMN VORTEX BOT

Jun 10th, 2012
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var d = document;
  2. var p = d.createElement('script');
  3. p.type = 'text/javascript';
  4. p.src = 'http://code.jquery.com/jquery-1.7.1.js';
  5. d.head.appendChild(p);
  6. p.onload = function () {
  7.     function bot() {
  8.         $.ajax({
  9.             type: "GET",
  10.             url: '/battle.php',
  11.             data: 'gymleader=Brock',
  12.             success: function () {
  13.                 $.ajax({
  14.                     type: "POST",
  15.                     url: '/battle.php?ajax=1',
  16.                     data: 'active_pokemon=47709592&action=select_attack',
  17.                     success: function () {
  18.                         $.ajax({
  19.                             type: "POST",
  20.                             url: '/battle.php?ajax=1',
  21.                             data: 'attack=3&action=attack',
  22.                             success: function () {
  23.                                 $.ajax({
  24.                                     type: "POST",
  25.                                     url: '/battle.php?ajax=1',
  26.                                     data: 'choose=pokechu',
  27.                                     success: function () {
  28.                                         $.ajax({
  29.                                             type: "POST",
  30.                                             url: '/battle.php?ajax=1',
  31.                                             data: 'active_pokemon=47709592&action=select_attack',
  32.                                             success: function () {
  33.                                                 $.ajax({
  34.                                                     type: "POST",
  35.                                                     url: '/battle.php?ajax=1',
  36.                                                     data: 'attack=3&action=attack',
  37.                                                     success: function () {
  38.                                                         $.ajax({
  39.                                                             type: "POST",
  40.                                                             url: '/battle.php?ajax=1',
  41.                                                             data: 'choose=pokechu',
  42.                                                             success: function () {
  43.                                                                 console.log('Upado!');
  44.                                                                 bot();
  45.                                                             }
  46.                                                         });
  47.                                                     }
  48.                                                 });
  49.                                             }
  50.                                         });
  51.                                     }
  52.                                 });
  53.                             }
  54.                         });
  55.                     }
  56.                 });
  57.             }
  58.         });
  59.     };
  60.     bot();
  61. };
Advertisement
Add Comment
Please, Sign In to add comment