Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /run local t,s,q,l,v=0 for b=0,4 do s=GetContainerNumSlots(b) for i=1,s do _,q,_,_,_,_,l=GetContainerItemInfo(b,i) v=TSMAPI_FOUR.CustomPrice.GetItemPrice(l,"DBMarket") if v then t=t+(v*q)end end end print("Total: "..format("%.0f gold",t/10000))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement