.. _plugin-conditional: The Conditional plugin ====================== Numeric comparison ------------------ .. _command-conditional-nlt: conditional nlt ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does a numeric comparison on ** and **. Returns true if ** is less than **. .. _command-conditional-nne: conditional nne ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does a numeric comparison on ** and **. Returns true if they are not equal. .. _command-conditional-nle: conditional nle ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does a numeric comparison on ** and **. Returns true if ** is less than or equal to **. .. _command-conditional-nge: conditional nge ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does a numeric comparison on ** and **. Returns true if ** is greater than or equal to **. .. _command-conditional-nceq: conditional nceq ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does a numeric comparison on ** and **. Returns true if they are equal. .. _command-conditional-ngt: conditional ngt ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does a numeric comparison on ** and **. Returns true if they ** is greater than **. String comparison ----------------- .. _command-conditional-le: conditional le ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does a string comparison on ** and **. Returns true if ** is less than or equal to **. .. _command-conditional-ceq: conditional ceq ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does a string comparison on ** and **. Returns true if they are equal. .. _command-conditional-gt: conditional gt ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does a string comparison on ** and **. Returns true if ** is greater than **. .. _command-conditional-ge: conditional ge ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does a string comparison on ** and **. Returns true if ** is greater than or equal to **. .. _command-conditional-ne: conditional ne ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does a string comparison on ** and **. Returns true if they are not equal. .. _command-conditional-lt: conditional lt ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Does a string comparison on ** and **. Returns true if ** is less than **. .. _command-conditional-match: conditional match ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Determines if ** is a substring of **. Returns true if ** is contained in **. Logical operators ----------------- .. _command-conditional-cand: conditional cand [ ... ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Returns true if all conditions supplied evaluate to true. .. _command-conditional-cxor: conditional cxor [ ... ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Returns true if only one of conditions supplied evaluates to true. .. _command-conditional-cor: conditional cor [ ... ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Returns true if any one of conditions supplied evaluates to true. .. _command-conditional-cif: conditional cif ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Runs ** if ** evaluates to true, runs ** if it evaluates to false. Use other logical operators defined in this plugin and command nesting to your advantage here.