XeroKill 15 Report post Posted October 8, 2014 (edited) I am going through my PickIt files and I wanted to expand on what the default picks up. I want it to pick up a number of different caster oriented rings and amulets and I want to know if the parenthesis work as an "either/or" function. Here is what I am doing: [Category] == "Amulet" && [Rarity] == "Rare" # [mana_regeneration_rate_+%] >= "35" && [base_maximum_life] >= "50" && [base_maximum_mana] >= "50" && [StashItem] == "true" [Category] == "Amulet" && [Rarity] == "Rare" # [mana_regeneration_rate_+%] >= "35" && [base_maximum_life] >= "50" && [base_cast_speed_+%] >= "5" && [StashItem] == "true" [Category] == "Amulet" && [Rarity] == "Rare" # [mana_regeneration_rate_+%] >= "35" && [base_maximum_life] >= "50" && [fire_damage_+%] >= "5" && [StashItem] == "true" What I want to know is if the following is the same thing and more efficient in terms of coding. [mana_regeneration_rate_+%] >= "35" && [base_maximum_life] >= "50" && [TotalResistances] >= "60" && ([base_maximum_mana] >= "50" || [base_cast_speed_+%] >= "5" || [fire_damage_+%] >= "5") && [StashItem] == "true" Basically I want the bot to pick up rings/amulets with base life, mana regen, resists, and any combination of mana, cast speed, fire damage. Do I need separate entries for each type or can I condense it into a broader context like the latter example. Any help would be greatly appreciated. Edited October 8, 2014 by XeroKill Quote Share this post Link to post Share on other sites
alkpone 1000000 Report post Posted October 9, 2014 Parenthesis work, so you can make only one line. Quote Share this post Link to post Share on other sites
XeroKill 15 Report post Posted October 10, 2014 Thanks for the heads up, and for this wonderful bot. I know it has some issues but you are doing great work and I am always eager for new updates and features. Keep it up! Quote Share this post Link to post Share on other sites