Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Bot nhb -??? ???? C??E?C?
- // @version 0.1
- // @description a- b -c
- // @author ??C?
- // @match https://ae50.tribalwars.ae/game.php?*=am_farm*
- // @grant none
- // ==/UserScript==
- /*
- A = 8
- B = 9
- C = 10
- */
- var type = 9;
- var speed = 5000;
- setInterval(
- function(){
- $('#plunder_list tr:eq(1) td:eq('+ type +') a').click();
- $('#plunder_list tr:eq(1)').remove();
- },Math.ceil( (Math.random() * 500 ) + 500));
- setTimeout(
- function(){
- if ( $('#village_switch_right').length == 0){
- location.reload();
- }else{
- location.href = $('#village_switch_right').attr('href');
- }
- }, speed);
- $(function (){
- $('.row_a, .row_b').each(function() {
- if ( $(this).find('td:eq(3)').html().match(/command\/attack\.png/) ){
- $(this).remove();
- }
- });
- });
- $(function (){
- $('.row_a, .row_b').each(function() {
- if ( $(this).find('td:eq(10)').html().match(/max_loot\/0\.png/) && $(this).find('td:eq(11)').html().match(/max_loot\/0\.png/) && $(this).find('td:eq(12').html().match(/max_loot\/0\.png/)){
- $(this).remove();
- }
- });
- });
- $(function (){
- $("a.farm_icon_a, a.farm_icon_b, a.farm_icon_c").click(function() {
- $(this).parent().parent().remove();
- });
- });
- $(function (){
- $('.row_a, .row_b').each(function() {
- if ( $(this).find('td:eq(10)').html().match(/farm_icon_disabled/) && $(this).find('td:eq(11)').html().match(/farm_icon_disabled/) && $(this).find('td:eq(12)').html().match(/farm_icon_disabled/)){
- $(this).remove();
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement