• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

AND and OR Logic for Scripts

There are no boolean operators built into the scripting language. HOWEVER, you can achieve the same net effect very easily in 90% of the situations you'll run into. The trick is to use arithmetic operations instead. For details, see the topic "Script-Writing 101" in the "How To" chapter of the docs. There is a sub-topic entitled "Handling Boolean Logic Conditions". Give it a read and then let me know if you still have questions. If you've got a specific situation you're trying to solve that doesn't seem to fit the arithmetic solution, I'll see what I can come up with for you.

-Rob

At 06:51 AM 8/18/2006, you wrote:

Is there AND and OR logical operators that can be used in scripts?
 
Back
Top