Well I'll give you an hand with it...
<Priority priority1="Keep" priority2="Sell" priority3="Salvage" />
This is mine, first it go to stash items that I want to keep, then it goes to sell all the other items that I specifed, you just have to look through-out the file, it's really easy to understand, you should review it in 4 parts (categories basically)
Picking up (What items to pick up)
Code:
<Category ruleType="PickUp">
<!-- Pick up all magic+ items -->
<ItemRule>
<StatRules>
<Rule quality="Magic1" />
</StatRules>
</ItemRule>
<!-- Pick up gold, at least in stacks of 100 -->
<ItemRule itemName="Gold" stack="100" />
<!-- Pick up all pages and tomes, blacksmithing/jewelcrafting -->
<ItemRule itemName="Page of*" stack="1" />
<ItemRule itemName="Tome of*" stack="1" />
<!-- Gems -->
<ItemRule itemName="*Ruby*" stack="1" />
<ItemRule itemName="*Emerald*" stack="1" />
<ItemRule itemName="*Topaz*" stack="1" />
<ItemRule itemName="*Amethyst*" stack="1" />
<!-- Health potions -->
<ItemRule itemName="*Health Potion*" stack="1" />
</Category>
What items to keep (Stash)
Code:
<Category ruleType="Keep">
<ItemRule itemBaseType="Weapon" twoHanded="true" description="High DPS 2h Weapons">
<StatRules>
<!-- Magic Weapons should have at least 1200 DPS -->
<Rule stat="DPS" minValue="1200" quality="Magic1" />
<!-- Rare weapons should have at least 1100 considering they provide extra stats most of the time. -->
<Rule stat="DPS" minValue="1100" quality="Rare4" />
</StatRules>
</ItemRule>
<ItemRule itemBaseType="Weapon" twoHanded="false" description="High DPS 1h Weapons">
<StatRules>
<Rule stat="DPS" minValue="1000" quality="Magic1" />
<Rule stat="DPS" minValue="900" quality="Rare4" />
</StatRules>
</ItemRule>
<ItemRule itemBaseType="Armor" description="Rare armor with Intelligence">
<StatRules>
<Rule stat="Intelligence" minValue="100" quality="Rare4" />
</StatRules>
</ItemRule>
<ItemRule itemBaseType="Jewelry" description="Rare jewelry with Intelligence">
<StatRules>
<Rule stat="Intelligence" minValue="100" quality="Rare4" />
</StatRules>
</ItemRule>
<ItemRule itemName="String of Ears" description="High DR% String of Ears">
<StatRules>
<!-- String of Ears should have at least 17% damage reduction. Any lower and its not worth a whole lot.-->
<Rule stat="DamageReductionPhysicalPercent" minValue="17" />
</StatRules>
</ItemRule>
<ItemRule itemName="Talisman of Aranoch" description="Talisman of Awesome Lowbieness" />
<!-- Keep rares and legendaries, regardless of stats. -->
<ItemRule ruleType="Keep" description="Rare and better items!">
<StatRules>
<Rule quality="Rare4" />
</StatRules>
</ItemRule>
</Category>
And what items to sell
Code:
<Category ruleType="Sell">
<ItemRule description="Sell Everything">
<StatRules>
<Rule quality="Magic1" />
</StatRules>
</ItemRule>
</Category>
</Categories>
</ItemRules>
That shouldn't be too hard to understand.
If you want Salvage you will have to add your own script which should look like this
<Category ruleType="Salvage">
<ItemRule description="Salvage">
<Rule quality="Magic1" />
</ItemRule>
</Category>
If you want priority to be Salvage then sell then stash simply do it in the priority settings.
NOTE: TO STASH ITEMS YOU MUST HAVE 1 TAB UNPROTECTED. I'm not sure if it can drop stuff from your stash atm but just get a clean tab.
NOTE2: You must state you want to sell gems if you want to sell them.