Created
August 6, 2015 02:29
-
-
Save 2J/e6243e5941e9ae7f5e0f to your computer and use it in GitHub Desktop.
cowsep chest opening script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#tab_c > div.inventory > .inventory-slot').each(function(index,item){ | |
if($(item).children('.inventory-item').data('item-type') == 'chest'){ | |
$.get( "crates.php", {crate: $(item).children('.inventory-item').data('item-id')}); | |
}; | |
}); | |
alert('opening chests...'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment