javascript: void((function() {var total=covert=classified=restricted=milspec=consumer=industrial=other=i=maxbet=0;$("#backpack")[0]?($("#backpack > .item").each(function(){i+=1;var t=$(this).children("div.rarity")[0].classList[1],e=$(this).children("div.value")[0].innerHTML;switch(e=parseFloat(e.replace("$ ","")),total+=e,t){case"Covert":covert+=e;if(i<=4)maxbet+=e;break;case"Classified":classified+=e;if(i<=4)maxbet+=e;break;case"Restricted":restricted+=e;if(i<=4)maxbet+=e;break;case"Mil-Spec":milspec+=e;if(i<=4)maxbet+=e;break;case"Consumer":consumer+=e;if(i<=4)maxbet+=e;break;case"Industrial":industrial+=e;if(i<=4)maxbet+=e;break;default:other+=e;if(i<=4)maxbet+=e}}),total=total.toFixed(2),covert=covert.toFixed(2),classified=classified.toFixed(2),restricted=restricted.toFixed(2),milspec=milspec.toFixed(2),industrial=industrial.toFixed(2),consumer=consumer.toFixed(2),other=other.toFixed(2),small=.05*total,small=small.toFixed(2),medium=.1*total,medium=medium.toFixed(2),large=.2*total,large=large.toFixed(2),maxbet=maxbet.toFixed(2),$(".bpheader").prepend("
Your items are worth: "+total+" |
Covert: "+covert+" | Industrial: "+industrial+" |
Classified: "+classified+" | Consumer: "+consumer+" |
Restricted: "+restricted+" | Other: "+other+" |
Mil-Spec: "+milspec+" |
Small bet: "+small+" | Medium Bet: "+medium+" | Large Bet: "+large+" | Max Bet: "+maxbet+" |
")):$(".bpheader").prepend("Could not find items. Please re-load backback
");})())