# AND's and OR's

**URL:** <https://forum.vassalengine.org/t/ands-and-ors/3840>\
**Category:** Module Design\
**Created:** [April 15, 2011, 2:41pm UTC](https://forum.vassalengine.org/t/ands-and-ors/3840 "2011-04-15T14:41:19Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![DrNostromo](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/drnostromo/32/12593_2.png) [@DrNostromo](https://forum.vassalengine.org/u/DrNostromo)\
**Post date:** [April 15, 2011, 2:41pm UTC](https://forum.vassalengine.org/t/ands-and-ors/3840/1 "2011-04-15T14:41:19Z")

</div>

I know this has been discussed before but I’ve been remiss it writing down for future reference. How do you mix && and || in a single statement. For example, I have a button that can be clicked if…

AnchorStealStatus = 0 && RoundStatus = 1 && playerSide != ActivePlayer && playerSide != Questioner && (here’s the problem part)

It can be clicked by either playerSide = Anchor OR playerSide = Master

---

_[View the full topic](https://forum.vassalengine.org/t/ands-and-ors/3840)._
