The rule builder
The rule builder edits one rule as a form. It opens in place of the deal feed on the Sniper tab, from Add rule, a rule’s Edit, or a preset. Read it from top to bottom: start from a preset, set the conditions, read what the rule does, then save.
Optional, at most 40 characters. It is shown in the rule list and on the deals the rule finds.
Start from a preset
Section titled “Start from a preset”A preset fills in the conditions for you, replacing any already there:
- Cheap gear for my level
- Under half its usual price
- Profit of at least 1g
- Cloth armor
- A specific item
- Blank
“Cheap gear for my level” takes your character’s level when the game gives it, and 60 otherwise.
Conditions
Section titled “Conditions”A rule needs at least one condition, and every condition must match (All must match). Add a condition offers these, each with its comparisons:
| Condition | Comparisons offered | Written as |
|---|---|---|
| Category | is any of | cat |
| Subcategory | is any of | sub |
| Slot | is any of | slot |
| Quality | at least, exactly, at most, between | quality |
| Item level | between, at least, at most | ilvl |
| Required level | between, at least, at most | req |
| Price | at most, under, at least, over | price |
| Percent of usual | under, at most, at least, over | pct |
| Profit | at least, over, at most, under | profit |
| Name | contains | name |
| Item | is any of | item |
- Category, Subcategory and Slot are lists from your game client, in its language. You
can pick several: the condition matches any of them. A subcategory needs its category picked too.
The rule saves the game’s own numbers for them (such as
cat 4for armour), which read the same in every language. - Item takes item IDs, such as 2589 for Linen Cloth.
- Amounts of money are typed like
5g20s3c,1.5g,50sor5(a bare number is gold). - Percent of usual and Profit need a usual price; see The usual price.
- not turns a condition around.
A condition that cannot be saved yet is marked, and the footer says why (for example “Pick at least one Category.” or “Give a whole number for Item level.”).
This rule
Section titled “This rule”As you change the conditions, the builder reads the rule back three ways:
- as a sentence, such as “Cloth armor, uncommon or better, under 60% of its usual price”;
- as text, the exact line that is saved, with Copy: this is the rule language, so you learn it by watching it;
- as a preview, “Would match N of M items listed now”, from the last list the sniper read. Start the sniper once to see it. It also says how many listed items have no usual price yet and so never match a rule on percent or profit.
Saving
Section titled “Saving”Save rule saves it, as a new rule at the end of the profile or in place of the one you opened. Save is off while anything stops the rule from being saved, with the reason in the footer. Cancel or Escape leaves the profile as it was.
A rule that the form cannot show (free text, an “or” across different fields, nested groups, or a category written by a name this client does not know exactly) opens as text instead; see Sniper and profiles.