You can already use the "is multiple of" operator (//) directly in a condition, or you can use the modulus operator (%) from inside $calc().

eg.
Code:
if (2 // X) {
  ; X is even
}

or
Code:
if ($calc(X % 2)) {
  ; X is odd
}


Spelling mistakes, grammatical errors, and stupid comments are intentional.