September 29, 20232 yr Hey guys, I'm working on my own Dicing script, and I'm wondering how to detect gp in the inventory. Would I just check for the number(i.e "100k") or do I need something more specific. Thanks
September 29, 20232 yr //do we have any coins if(getInventory().contains("Coins")) { //do we have >= 100k coins if (getInventory().getAmount("Coins") >= 100000) { log("we got the $$$"); } }
September 29, 20232 yr I've been wondering the same thing. Now I just need to figure out how to make the trades work and I'll have a dicing bot of my own.
Create an account or sign in to comment