# ?You're designing a script...

You're designing a script with three possible spending conditions that should be mutually exclusive (only one can execute). Which approach is most appropriate?

* [ ] Three sequential IF statements without ELSE clauses
* [x] Nested IF conditionals with OP\_ELSE connecting conditions
* [ ] Three separate transactions, one for each condition
* [ ] A single IF statement that checks all three conditions simultaneously

Note to learners:

Nested IF conditionals with OP\_ELSE ensure mutual exclusivity—once one condition matches, the others are automatically skipped.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hub.bsvblockchain.org/higher-learning/bsv-academy/bsv-opcodes/bitwise-transform/youre-designing-a-script....md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
