Dynamic number in condition

You can change type of an existing selector to JavaScript as shown below. It is a screenshot using extension’s Visual Selector:

Note that JS is used to change the value being monitored.