# If + If + !If

**URL:** <https://forum.kirupa.com/t/if-if-if/34390>\
**Category:** flash\
**Created:** [November 1, 2003, 2:38pm UTC](https://forum.kirupa.com/t/if-if-if/34390 "2003-11-01T14:38:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luster](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@luster](https://forum.kirupa.com/u/luster)\
**Post date:** [November 1, 2003, 2:38pm UTC](https://forum.kirupa.com/t/if-if-if/34390/1 "2003-11-01T14:38:14Z")

</div>

Is it possible to create an

"if condition1 AND condition2 and ! condition 3 "

statement?  
I did something like that, it didn’t give any error but it didn’t work.  
Is there an other way or is it impossible?

Luster

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 1, 2003, 2:40pm UTC](https://forum.kirupa.com/t/if-if-if/34390/2 "2003-11-01T14:40:55Z")

</div>

[AS]if (condition1 && condition2 && !condition3){  
//do this  
}[/AS]  
You mean like that?
