Custom expression using multiple variables

Can I generate a custom expression that allows for logical expressions combining different variables?
This is what I have
$VERSION>49 AND (($bula==13) or ($bula==14) or ($bula==16)) → does not work

You’ve got a simple PERL error and you don’t need the version variable.

(($bula==13) || ($bula==14) || ($bula==16))

→ does work