Assuming it works the same as IFE, Keep rules override Sell rules. So you're saying KEEP all identified uniques which weighs higher than your SELL that specific unique. Your choices are either a whitelist or blacklist for KEEP.
Example:
item.IsUnique and item.IsIdentified and not item.FullName == "Redbeak" KEEP
item.IsUnique and item.IsIdentified SELL
----- This will cause AIF to try and sell every unique, but since your keep statement overrides it and says to keep every unique except Redbeak, it will only sell Redbeak
item.IsUnique and item.IsIdentified and (item.FullName == "Voll's Devotion" or item.FullName == "Randomunique") KEEP
item.IsUnique and item.IsIdentified SELL
----- This will cause AIF to sell every unique that you don't explicitly say keep
Depends on how many uniques you want to write out. If you're only keeping like six it's probably easier to do an explicit keep statement on those. If you're only trying to sell like six uniques it's probably easier to do an explicit "not item" on those for the keep statement.
ok i got this i will test it out
but got an other problem
should i use staticfilter with advanceditemfilter with custom rules? or there will be less mess if i will just disable all static filters, and put all filters in custom rules?
For example using staticfilters in ItemFilterEditor for:
pickup and stash: currency, divination cards, maps, maps fragments, gems,
nothing else
and rest in custom rules with AIF like:
rares: [pick all rares, id all rares, sell all rares, keep chaos recipe rares]
item.IsRare Pickup
item.IsRare Sell
item.IsRare Id
6sock, 6link
item.Sockets == 6 Pickup
item.Sockets == 6 and not item.Links == 6 Sell
item.Links == 6 Keep
RGB:
item.IsRGB Pickup
item.IsRGB Sell
Unique: [pickup uniques which i want]
item.IsUnique Pickup
item.IsUnique Id
item.IsUnique and item.IsIdentified and (item.FullName == "Voll's Devotion" or item.FullName == "Randomunique") KEEP
item.IsUnique and item.IsIdentified SELL
static filters dont want to work for me
if i put in global settings plugin order : AIF, IFE static filters work, but custom rules not
if i put in global settings plugin order : IFE, AIF static filters dont work, but custom rules work