Skip to content

FilterX Conditions

SteffenBlake edited this page Nov 22, 2026 · 4 revisions

Conditions

Currently all of the following Conditions listed on https://www.pathofexile.com/item-filter/about are supported, except for the following:

  • Prophecy
  • ArchnemesisMod
  • Continue (Planned to be added soon)

No Actions are currently supported. Please use Filter Style Sheets and the Style command for this functionality.

Advanced Commands

Style

Usage

Style [stylename string[]...];

Example

Style my-first-style my-second-style;

Remarks

Style names are case sensitive and can be declared later in an imported stylesheet.

A block that passes its HasValue and IsTrue guards must reference declared styles. An undeclared style produces a build error naming the missing class.

HasValue

Usage

HasValue [value string[]...];

Example

HasValue %MyInjectedVariable%;

Remarks

HasValue passes when its arguments contain any text other than whitespace. For example, HasValue %FirstList% %SecondList%; passes when either list supplies a value.

To require both lists, use separate commands: HasValue %FirstList%; and HasValue %SecondList%;.

Every HasValue command in a block must pass, including inherited commands. A failed check skips the block and its children.

This is intended to be used in cases where the Injected Variable has the potential to be null/empty, and rather than creating a now invalid block you would prefer the block not be created at all.

Here is an example Filter Block demonstrating this purpose:

{
    HasValue %ExaltTier_DivinationCard%;
    BaseType == %ExaltTier_DivinationCard%;
    Style exalt-tier;
}

It could potentially occur that the variable ExaltTier_DivinationCard is an Empty string, which would produce the following block:

{
    HasValue  ;
    BaseType ==  ;
    Style exalt-tier;
}

An empty BaseType command contributes no condition. In this example, HasValue skips the block.

Guards also matter when a block has other conditions. For example, if this block inherited Class "Divination Card";, losing its BaseType condition would broaden it to match that entire class. HasValue keeps the rule dependent on its intended list of base types.

IsTrue

Usage

IsTrue [value:Boolean];

Example

IsTrue %MyInjectedBoolean%;

Remarks

IsTrue accepts True or False. A False value skips the block and its children, including children that declare another IsTrue command.

An empty argument contributes no check. To require a supplied value as well, use HasValue %MyInjectedBoolean%; before IsTrue %MyInjectedBoolean%;.

The intended use for this command is to provide programmatic capability for one to Enable/Disable entire portions of their code via an injected boolean value.

Clone this wiki locally