Here this was answered a long time, but it also answers your question. That thread has examples on how to make the conditions as well as how the logic of the conditions works
Here this was answered a long time, but it also answers your question. That thread has examples on how to make the conditions as well as how the logic of the conditions works